From: John Fastabend Date: Fri, 25 Sep 2009 13:12:03 +0000 (+0000) Subject: net: fix double skb free in dcbnl X-Git-Tag: v2.6.32-rc3~63^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eaf5077b37bb33dbd44e569ff88566d6fe286e9;p=pandora-kernel.git net: fix double skb free in dcbnl netlink_unicast() calls kfree_skb even in the error case. dcbnl calls netlink_unicast() which when it fails free's the skb and returns an error value. dcbnl is free'ing the skb again when this error occurs. This patch removes the double free. Signed-off-by: John Fastabend Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed