[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1492795881-11914-2-git-send-email-vyasevic@redhat.com>
Date: Fri, 21 Apr 2017 13:31:20 -0400
From: Vladislav Yasevich <vyasevich@...il.com>
To: netdev@...r.kernel.org
Cc: dsa@...ulusnetworks.com, Vladislav Yasevich <vyasevic@...hat.com>
Subject: [PATCH net-next 1/2] rtnetlink: Disable notification for NETDEV_NAMECHANGE event
The data signaling name change is already provided at
the end of do_setlink(). This event handler just generates
a duplicate announcement. Disable it.
CC: David Ahern <dsa@...ulusnetworks.com>
Signed-off-by: Vladislav Yasevich <vyasevic@...hat.com>
---
net/core/rtnetlink.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 0ee5479..e8e6816 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -4123,7 +4123,6 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
switch (event) {
case NETDEV_REBOOT:
- case NETDEV_CHANGENAME:
case NETDEV_FEAT_CHANGE:
case NETDEV_BONDING_FAILOVER:
case NETDEV_NOTIFY_PEERS:
--
2.7.4
Powered by blists - more mailing lists