From: Mathias Krause Date: Fri, 14 Sep 2012 09:58:32 +0000 (+0000) Subject: xfrm_user: return error pointer instead of NULL #2 X-Git-Tag: v3.6-rc7~10^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c25463722509fef0ed630b271576a8c9a70236f3;p=pandora-kernel.git xfrm_user: return error pointer instead of NULL #2 When dump_one_policy() returns an error, e.g. because of a too small buffer to dump the whole xfrm policy, xfrm_policy_netlink() returns NULL instead of an error pointer. But its caller expects an error pointer and therefore continues to operate on a NULL skbuff. Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller --- Reading git-diff-tree failed