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)
commit10f3f51d56648f4eaf5c9f7aee27c418b833c3c0
treee831e437d98b28efd63881397365ab7ce17e9cbf
parent5e953778a2aab04929a5e7b69f53dc26e39b079e
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