rtnetlink: Do not generate notification for UDP_TUNNEL_PUSH_INFO
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 12 Apr 2017 00:02:41 +0000 (17:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Apr 2017 17:16:33 +0000 (13:16 -0400)
NETDEV_UDP_TUNNEL_PUSH_INFO is an internal notifier; nothing userspace
can do so don't generate a netlink notification.

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

index 79ab43796b087cec592ea679cbc354546faaf730..58722bf10d504911f3b8fccf351dda5af7033440 100644 (file)
@@ -4128,7 +4128,6 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
        case NETDEV_CHANGEINFODATA:
        case NETDEV_PRECHANGEUPPER:
        case NETDEV_CHANGELOWERSTATE:
-       case NETDEV_UDP_TUNNEL_PUSH_INFO:
        case NETDEV_CHANGE_TX_QUEUE_LEN:
                rtmsg_ifinfo(RTM_NEWLINK, dev, 0, GFP_KERNEL);
                break;