]> git.baikalelectronics.ru Git - kernel.git/commit
team: send port changed when added
authorJiri Pirko <jiri@resnulli.us>
Fri, 21 Sep 2012 01:51:59 +0000 (01:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2012 19:01:21 +0000 (15:01 -0400)
commitd1009e23df9183200f7af47c27ad254cead6e288
treee831e437d98b28efd63881397365ab7ce17e9cbf
parent20b494e145774ea6e4507e4c7b31984f8d473319
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