From: Eric Dumazet Date: Fri, 6 Apr 2012 08:49:10 +0000 (+0200) Subject: net: fix a race in sock_queue_err_skb() X-Git-Tag: v3.4-rc2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110c43304db6f06490961529536c362d9ac5732f;p=pandora-kernel.git net: fix a race in sock_queue_err_skb() As soon as an skb is queued into socket error queue, another thread can consume it, so we are not allowed to reference skb anymore, or risk use after free. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed