sch_teql: fix lockdep splat
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 30 Nov 2011 04:08:58 +0000 (04:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2011 22:10:49 +0000 (17:10 -0500)
commitf7e57044eeb1841847c24aa06766c8290c202583
tree86167b7760363d85731d05a802aa8da1b29b7e29
parent15fc1f3617edea50fa58703d59f73e726377bc63
sch_teql: fix lockdep splat

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>
net/sched/sch_teql.c