diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-04-11 17:02:42 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-13 13:16:33 -0400 |
commit | cd8966e75ed3c6b41a37047a904617bc44fa481f (patch) | |
tree | 66cc3dd0815b80c4da8e694ec4dfe690bec86489 /net/core | |
parent | 46ede612c7a3e1558c98345b611baf636d3ea65f (diff) | |
download | linux-cd8966e75ed3c6b41a37047a904617bc44fa481f.tar.bz2 |
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/rtnetlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 58722bf10d50..574f9b79919a 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -4117,7 +4117,6 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi switch (event) { case NETDEV_REBOOT: - case NETDEV_CHANGEADDR: case NETDEV_CHANGENAME: case NETDEV_FEAT_CHANGE: case NETDEV_BONDING_FAILOVER: |