summaryrefslogtreecommitdiff
path: root/net/x25/x25_in.c
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2018-05-03 13:47:24 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-03 13:40:54 -0400
commitfaa1cd8298439cf56f7fd2d8647726b30c263bf0 (patch)
tree651cbd227fc7cb4252c03f66a07f608a9a31378a /net/x25/x25_in.c
parent2e5185519450afe948e6418a699799c60ac8597d (diff)
net: bridge: avoid duplicate notification on up/down/change netdev events
While handling netdevice events, br_device_event() sometimes uses br_stp_(disable|enable)_port which unconditionally send a notification, but then a second notification for the same event is sent at the end of the br_device_event() function. To avoid sending duplicate notifications in such cases, check if one has already been sent (i.e. br_stp_enable/disable_port have been called). The patch is based on a change by Satish Ashok. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/x25_in.c')
0 files changed, 0 insertions, 0 deletions