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)
commit6c8b4e3ff81b82fc153625e81e60af1d89de2c32
tree88f8d3413e9fa93c9683ba2fef44167de2f583c9
parentbe9efd3653284f2827fd82861e8e9db9a8f726e1
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