From: Patrick McHardy Date: Tue, 12 Apr 2011 05:39:51 +0000 (+0000) Subject: connector: fix skb double free in cn_rx_skb() X-Git-Tag: v2.6.39-rc5~40^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e08785845093ef4ed220463a739bc8d0db95de7;p=pandora-kernel.git connector: fix skb double free in cn_rx_skb() When a skb is delivered to a registered callback, cn_call_callback() incorrectly returns -ENODEV after freeing the skb, causing cn_rx_skb() to free the skb a second time. Reported-by: Eric B Munson Signed-off-by: Patrick McHardy Tested-by: Eric B Munson Signed-off-by: David S. Miller --- Reading git-diff-tree failed