]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Fix flushing of cached routing informations
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 17 Oct 2012 21:17:44 +0000 (21:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2012 19:34:30 +0000 (15:34 -0400)
commit936e02c56874aa9477d6d48c66c5e7c875c87b7f
treee26ac35082d33767ad157ababda04bcdf7c6d83f
parentb2bcb0f45211558f3f7e8cb7a4cdf57f8054d69f
ipv4: Fix flushing of cached routing informations

Currently we can not flush cached pmtu/redirect informations via
the ipv4_sysctl_rtcache_flush sysctl. We need to check the rt_genid
of the old route and reset the nh exeption if the old route is
expired when we bind a new route to a nh exeption.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c