diff options
author | Laszlo Attila Toth <panther@balabit.hu> | 2008-02-13 06:42:09 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-13 06:42:09 (GMT) |
commit | 45b503548210fe6f23e92b856421c2a3f05fd034 (patch) | |
tree | d4cacc5e468c2d2fa0e504c05d50f4e42d3bc6af /net/ipv4/ah4.c | |
parent | 370125f0a48a2584a2506fd567d690df6d87cf2c (diff) | |
download | linux-45b503548210fe6f23e92b856421c2a3f05fd034.tar.xz |
[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 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions