summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-11-02 23:47:44 +0100
committerDavid S. Miller <davem@davemloft.net>2011-11-03 23:02:13 +0100
commite2e210c0238eb7073e07af503ae743fa53977120 (patch)
treea4940a436eb0292f09a9e9c09d7bfccfc5a0d76f /net/ipv4
parentnet: fix typo in drivers/net/ethernet/xilinx/ll_temac_main.c (diff)
downloadlinux-e2e210c0238eb7073e07af503ae743fa53977120.tar.xz
linux-e2e210c0238eb7073e07af503ae743fa53977120.zip
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions