ipv4: Cap ADVMSS metric in the FIB rather than the routing cache.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Jun 2012 02:47:34 +0000 (19:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jun 2012 02:47:34 +0000 (19:47 -0700)
commit6fac262526ee91ee66210b8919a4297dcf7d544e
treeb013fa21c5a0940523c431cf6041b1d7aa509dfe
parenta7e2eaadd0edf6d71637c0d99aca404b0da8c1be
ipv4: Cap ADVMSS metric in the FIB rather than the routing cache.

It makes no sense to execute this limit test every time we create a
routing cache entry.

We can't simply error out on these things since we've silently
accepted and truncated them forever.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c
net/ipv4/route.c