]> rtime.felk.cvut.cz Git - linux-imx.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)
commit0b121fd28d071c766dddab743031ba6cfe9be68e
treef6ce9ce002942cdcbf9a4f0ded8374c5f4aefaee
parentab43ed8b7490cb387782423ecf74aeee7237e591
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