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)
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>

No differences found