rtnetlink: Do not generate notifications for CHANGEADDR event
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 12 Apr 2017 00:02:42 +0000 (17:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Apr 2017 17:16:33 +0000 (13:16 -0400)
commitcd8966e75ed3c6b41a37047a904617bc44fa481f
tree66cc3dd0815b80c4da8e694ec4dfe690bec86489
parent46ede612c7a3e1558c98345b611baf636d3ea65f
rtnetlink: Do not generate notifications for CHANGEADDR event

Changing hardware address generates redundant messages:

[LINK]11: dummy1: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
    link/ether 02:02:02:02:02:02 brd ff:ff:ff:ff:ff:ff

[LINK]11: dummy1: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
    link/ether 02:02:02:02:02:02 brd ff:ff:ff:ff:ff:ff

Do not send a notification for the CHANGEADDR notifier.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c