summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorLaszlo Attila Toth <panther@balabit.hu>2008-02-12 22:42:09 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-12 22:42:09 -0800
commit45b503548210fe6f23e92b856421c2a3f05fd034 (patch)
treed4cacc5e468c2d2fa0e504c05d50f4e42d3bc6af /usr
parent370125f0a48a2584a2506fd567d690df6d87cf2c (diff)
downloadlinux-45b503548210fe6f23e92b856421c2a3f05fd034.tar.bz2
[RTNETLINK]: Send a single notification on device state changes.
In do_setlink() a single notification is sent at the end of the function if any modification occured. If the address has been changed, another notification is sent. Both of them is required because originally only the NETDEV_CHANGEADDR notification was sent and although device state change implies address change, some programs may expect the original notification. It remains for compatibity. If set_operstate() is called from do_setlink(), it doesn't send a notification, only if it is called from rtnl_create_link() as earlier. Signed-off-by: Laszlo Attila Toth <panther@balabit.hu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions