]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab104394ae51777d16d88dd86c3b3072ec45f083
treeb013fa21c5a0940523c431cf6041b1d7aa509dfe
parent8ffafd5c6620dc4318319bbf7ae8a8f884fc3612
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