Home
last modified time | relevance | path

Searched hist:"9215 f437" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/team/
H A Dteam.c9215f437 Wed Mar 04 01:36:31 CST 2015 Jiri Pirko <jiri@resnulli.us> team: don't traverse port list using rcu in team_set_mac_address

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>
9215f437 Wed Mar 04 01:36:31 CST 2015 Jiri Pirko <jiri@resnulli.us> team: don't traverse port list using rcu in team_set_mac_address

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>