]> git.baikalelectronics.ru Git - kernel.git/commit
team: send port changed when added
authorJiri Pirko <jiri@resnulli.us>
Sat, 22 Sep 2012 07:07:53 +0000 (07:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2012 19:46:12 +0000 (15:46 -0400)
commitcce28ff8e30f11b780689dabcc762e4d70e3b702
treef6ce9ce002942cdcbf9a4f0ded8374c5f4aefaee
parenta62ee29677248b8d92ce9c68ea94d2e570334327
team: send port changed when added

On some hw, link is not up during adding iface to team. That causes event
not being sent to userspace and that may cause confusion.
Fix this bug by sending port changed event once it's added to team.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c