diff options
author | Jiri Pirko | 2013-06-10 17:42:25 +0200 |
---|---|---|
committer | David S. Miller | 2013-06-12 12:06:16 +0200 |
commit | 735d381fa57c573935d35a24ea271ec99897ac63 (patch) | |
tree | e1118f79060396214ac150339eaa6a3a1c7c2168 /drivers/net/Space.c | |
parent | team: use kfree_rcu instead of synchronize_rcu in team_port_dev (diff) | |
download | kernel-qcow2-linux-735d381fa57c573935d35a24ea271ec99897ac63.tar.gz kernel-qcow2-linux-735d381fa57c573935d35a24ea271ec99897ac63.tar.xz kernel-qcow2-linux-735d381fa57c573935d35a24ea271ec99897ac63.zip |
team: remove synchronize_rcu() called during port disable
Check the unlikely case of team->en_port_count == 0 before modulo
operation.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions