commit | f31e8d4f7b44092b6b2ab3a6b1d4079836b6955a | [log] [tgz] |
---|---|---|
author | Li RongQing <roy.qing.li@gmail.com> | Thu Apr 23 11:06:53 2015 +0800 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Thu Apr 23 11:37:52 2015 +0200 |
tree | 6b7a2cae68eb6a86819a0ccc3e8f8a3800afb292 | |
parent | 800777026eeb33585f29608c2c6131fc66d2e218 [diff] |
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 <roy.qing.li@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>