From: James Chapman Date: Thu, 6 Mar 2008 02:40:01 +0000 (-0800) Subject: [PPPOL2TP]: Fix SMP issues in skb reorder queue handling X-Git-Tag: v2.6.25-rc6~31^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e653181dd6b3ad38ce14904351b03a5388f4b0f7;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed