summaryrefslogtreecommitdiff
path: root/drivers/net/team/team_mode_loadbalance.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-06-26 06:52:45 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-26 21:09:39 -0700
commit122bb046bcfb8f3d2d94d9f7f6b74da187a740f2 (patch)
tree2a01688c91a1040edd2f939078da7fe4c4eb58da /drivers/net/team/team_mode_loadbalance.c
parent72fd5a8b75fb9962295a8c1338e13a4b1536714a (diff)
team: fix team_adjust_ops with regard to enabled ports
team_adjust_ops should check for enabled ports, not all ports. This may lead to division by zero. This patch fixes this. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team/team_mode_loadbalance.c')
0 files changed, 0 insertions, 0 deletions