projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
team: remove synchronize_rcu() called during port disable
[cascardo/linux.git]
/
drivers
/
net
/
team
/
team_mode_loadbalance.c
diff --git
a/drivers/net/team/team_mode_loadbalance.c
b/drivers/net/team/team_mode_loadbalance.c
index
cdc31b5
..
829a9cd
100644
(file)
--- a/
drivers/net/team/team_mode_loadbalance.c
+++ b/
drivers/net/team/team_mode_loadbalance.c
@@
-112,9
+112,8
@@
static struct team_port *lb_hash_select_tx_port(struct team *team,
struct sk_buff *skb,
unsigned char hash)
{
- int port_index;
+ int port_index
= team_num_to_port_index(team, hash)
;
- port_index = hash % team->en_port_count;
return team_get_port_by_index_rcu(team, port_index);
}