xfrm: dont assume rcu_read_lock in xfrm_output_one()
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 16 Sep 2010 12:27:50 +0000 (12:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Sep 2010 04:46:15 +0000 (21:46 -0700)
commite71895a1beff2014534c9660d9ae42e043f11555
treebec0ddc23b1176cac8f3a53b76aa8f2bc5e653a1
parent801e147cde02f04b5c2f42764cd43a89fc7400a2
xfrm: dont assume rcu_read_lock in xfrm_output_one()

ip_local_out() is called with rcu_read_lock() held from ip_queue_xmit()
but not from other call sites.

Reported-and-bisected-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_output.c