ipv4: flush route cache after change accept_local
authorPeter Pan(潘卫平) <panweiping3@gmail.com>
Thu, 1 Dec 2011 15:47:06 +0000 (15:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2011 02:46:12 +0000 (21:46 -0500)
After reset ipv4_devconf->data[IPV4_DEVCONF_ACCEPT_LOCAL] to 0,
we should flush route cache, or it will continue receive packets with local
source address, which should be dropped.

Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found