aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-05-09 20:55:03 -0700
committerDavid S. Miller <davem@davemloft.net>2011-05-10 15:03:01 -0700
commit1fc19aff84edf97753c58cf4b858c6c4fdb246fa (patch)
tree15d4eb3545a1edf20103bb1ef927d7e7ba7b6c2e /net/8021q
parentipv4: xfrm: Eliminate ->rt_src reference in policy code. (diff)
downloadlinux-dev-1fc19aff84edf97753c58cf4b858c6c4fdb246fa.tar.xz
linux-dev-1fc19aff84edf97753c58cf4b858c6c4fdb246fa.zip
net: fix two lockdep splats
Commit e67f88dd12f6 (net: dont hold rtnl mutex during netlink dump callbacks) switched rtnl protection to RCU, but we forgot to adjust two rcu_dereference() lockdep annotations : inet_get_link_af_size() or inet_fill_link_af() might be called with rcu_read_lock or rtnl held, so use rcu_dereference_rtnl() instead of rtnl_dereference() Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions