]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sch_teql: fix lockdep splat
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 30 Nov 2011 04:08:58 +0000 (04:08 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:55:59 +0000 (08:55 -0800)
commit5eb027bb82d1f9d4af0df73a3ce08945ffc1b481
tree257a6a0a1990650cfc233af7e4368fa2d05f45b8
parente03d2dc771361ff27ca042b793fa34b27bd6f115
sch_teql: fix lockdep splat

[ Upstream commit f7e57044eeb1841847c24aa06766c8290c202583 ]

We need rcu_read_lock() protection before using dst_get_neighbour(), and
we must cache its value (pass it to __teql_resolve())

teql_master_xmit() is called under rcu_read_lock_bh() protection, its
not enough.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/sch_teql.c