]> git.baikalelectronics.ru Git - kernel.git/commit
arp: flush arp cache on IFF_NOARP change
authorTimo Teräs <timo.teras@iki.fi>
Tue, 28 May 2013 01:30:23 +0000 (01:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 20:11:02 +0000 (13:11 -0700)
commit4b28f2fac19b68ab7b10dd6e6a61ba337e8f33e5
tree88f8d3413e9fa93c9683ba2fef44167de2f583c9
parent8c63acbb556dff3f18f9c4d8125fdcbcf0ef05e7
arp: flush arp cache on IFF_NOARP change

IFF_NOARP affects what kind of neighbor entries are created
(nud NOARP or nud INCOMPLETE). If the flag changes, flush the arp
cache to refresh all entries.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
v2->v3: shortened notifier_info struct name
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c