]> 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)
commitedf24ac609e3575590ddbb765d9a73b02daafd98
treef6ce9ce002942cdcbf9a4f0ded8374c5f4aefaee
parent582af2e00ebd4574dfc13a58ca77fa9506a275f4
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