summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJames Chapman <jchapman@katalix.com>2008-03-05 18:40:01 -0800
committerDavid S. Miller <davem@davemloft.net>2008-03-05 18:40:01 -0800
commite653181dd6b3ad38ce14904351b03a5388f4b0f7 (patch)
tree36703dfc6206863464a162f0a4a29a5901314e44 /fs
parentcf3752e2d203bbbfc88d29e362e6938cef4339b3 (diff)
downloadop-kernel-dev-e653181dd6b3ad38ce14904351b03a5388f4b0f7.zip
op-kernel-dev-e653181dd6b3ad38ce14904351b03a5388f4b0f7.tar.gz
[PPPOL2TP]: Fix SMP issues in skb reorder queue handling
When walking a session's packet reorder queue, use skb_queue_walk_safe() since the list could be modified inside the loop. Rearrange the unlinking skbs from the reorder queue such that it is done while the queue lock is held in pppol2tp_recv_dequeue() when walking the skb list. A version of this patch was suggested by Jarek Poplawski. Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud