From: Li RongQing Date: Thu, 23 Apr 2015 03:06:53 +0000 (+0800) Subject: xfrm: fix the return code when xfrm_*_register_afinfo failed X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~192^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f31e8d4f7b44092b6b2ab3a6b1d4079836b6955a;p=pandora-kernel.git xfrm: fix the return code when xfrm_*_register_afinfo failed If xfrm_*_register_afinfo failed since xfrm_*_afinfo[afinfo->family] had the value, return the -EEXIST, not -ENOBUFS Signed-off-by: Li RongQing Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed