Skip to content
Commit 122bb046 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

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: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 72fd5a8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment