linux/net/l2tp
Eric Dumazet e2e210c023 l2tp: fix race in l2tp_recv_dequeue()
Misha Labjuk reported panics occurring in l2tp_recv_dequeue()

If we release reorder_q.lock, we must not keep a dangling pointer (tmp),
since another thread could manipulate reorder_q.

Instead we must restart the scan at beginning of list.

Reported-by: Misha Labjuk <spiked.yar@gmail.com>
Tested-by: Misha Labjuk <spiked.yar@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-03 18:02:13 -04:00
..
Kconfig
l2tp_core.c l2tp: fix race in l2tp_recv_dequeue() 2011-11-03 18:02:13 -04:00
l2tp_core.h
l2tp_debugfs.c
l2tp_eth.c
l2tp_ip.c l2tp: fix l2tp_ip_sendmsg() route handling 2011-06-13 17:31:30 -04:00
l2tp_netlink.c
l2tp_ppp.c l2tp: give proper headroom in pppol2tp_xmit() 2011-10-18 23:33:44 -04:00
Makefile