From: Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx> Date: Thu, 3 May 2018 13:47:24 +0300 > 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@xxxxxxxxxxxxxxxxxxx> > --- > We've been running with a similar patch for over an year, it's been > thoroughly tested. Sending for net-next since it's an improvement and > not really a bug fix. Looks good, applied, thanks!