rtnetlink: Do not generate notifications for PRECHANGEUPPER event
PRECHANGEUPPER is an internal event; do not generate userspace notifications. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>hifive-unleashed-5.1
parent
aef091ae58
commit
bf2c2984d3
|
@ -4124,7 +4124,6 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
|
||||||
case NETDEV_CHANGEUPPER:
|
case NETDEV_CHANGEUPPER:
|
||||||
case NETDEV_RESEND_IGMP:
|
case NETDEV_RESEND_IGMP:
|
||||||
case NETDEV_CHANGEINFODATA:
|
case NETDEV_CHANGEINFODATA:
|
||||||
case NETDEV_PRECHANGEUPPER:
|
|
||||||
case NETDEV_CHANGELOWERSTATE:
|
case NETDEV_CHANGELOWERSTATE:
|
||||||
case NETDEV_CHANGE_TX_QUEUE_LEN:
|
case NETDEV_CHANGE_TX_QUEUE_LEN:
|
||||||
rtmsg_ifinfo(RTM_NEWLINK, dev, 0, GFP_KERNEL);
|
rtmsg_ifinfo(RTM_NEWLINK, dev, 0, GFP_KERNEL);
|
||||||
|
|
Loading…
Reference in New Issue