aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_mode_tunnel.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2013-09-25 12:02:45 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-30 15:08:13 -0400
commit991fb3f74c142e1a1891ff4f7e9a6285a79a8ea1 (patch)
tree30a883054bf34f8f4d8b52506bc8b844ddd30b83 /net/ipv4/xfrm4_mode_tunnel.c
parentdev: update __dev_notify_flags() to send rtnl msg (diff)
downloadlinux-dev-991fb3f74c142e1a1891ff4f7e9a6285a79a8ea1.tar.xz
linux-dev-991fb3f74c142e1a1891ff4f7e9a6285a79a8ea1.zip
dev: always advertise rx_flags changes via netlink
When flags IFF_PROMISC and IFF_ALLMULTI are changed, netlink messages are not consistent. For example, if a multicast daemon is running (flag IFF_ALLMULTI set in dev->flags but not dev->gflags, ie not exported to userspace) and then a user sets it via netlink (flag IFF_ALLMULTI set in dev->flags and dev->gflags, ie exported to userspace), no netlink message is sent. Same for IFF_PROMISC and because dev->promiscuity is exported via IFLA_PROMISCUITY, we may send a netlink message after each change of this counter. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_mode_tunnel.c')
0 files changed, 0 insertions, 0 deletions