linux/drivers/net/team/team.c
Jiri Pirko 9f7dbd4035 team: don't traverse port list using rcu in team_set_mac_address
commit 9215f437b8 upstream.

Currently the list is traversed using rcu variant. That is not correct
since dev_set_mac_address can be called which eventually calls
rtmsg_ifinfo_build_skb and there, skb allocation can sleep. So fix this
by remove the rcu usage here.

Fixes: 3d249d4ca7 "net: introduce ethernet teaming device"
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
2015-03-12 16:45:27 +00:00

2928 lines
69 KiB