team: fix master carrier set when user linkup is enabled
authorJiri Pirko <jiri@resnulli.us>
Thu, 28 Nov 2013 17:01:38 +0000 (18:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Nov 2013 21:34:33 +0000 (16:34 -0500)
commitf5e0d34382e18f396d7673a84df8e3342bea7eb6
tree9c72ed100c60d42dbada63d3a42966a9099881e9
parentd3f7d56a7a4671d395e8af87071068a195257bf6
team: fix master carrier set when user linkup is enabled

When user linkup is enabled and user sets linkup of individual port,
we need to recompute linkup (carrier) of master interface so the change
is reflected. Fix this by calling __team_carrier_check() which does the
needed work.

Please apply to all stable kernels as well. Thanks.

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