From: Dan Carpenter Date: Wed, 24 Mar 2010 01:47:00 +0000 (+0000) Subject: af_key: return error if pfkey_xfrm_policy2msg_prep() fails X-Git-Tag: v2.6.34-rc3~33^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a127aad4d60968fba96622008ea0d243688f2b0;p=pandora-kernel.git af_key: return error if pfkey_xfrm_policy2msg_prep() fails The original code saved the error value but just returned 0 in the end. Signed-off-by: Dan Carpenter Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- Reading git-diff-tree failed