From: Herbert Xu Date: Tue, 22 Apr 2014 09:15:34 +0000 (+0800) Subject: macvlan: Fix leak and NULL dereference on error path X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~335 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e676f197a7a9aae9c75b0d9acc97e07de07dd1f0;p=pandora-kernel.git macvlan: Fix leak and NULL dereference on error path The recent patch that moved broadcasts to process context added a couple of bugs on the error path where we may dereference NULL or leak an skb. This patch fixes them. Reported-by: Dan Carpenter Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed