summaryrefslogtreecommitdiff
path: root/net/batman-adv
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2018-07-25 23:45:29 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2018-07-26 08:17:26 +0300
commit44e2b838c24d883dae8496dc7b6ddac7956ba53c (patch)
tree7ce16ee0b9d72799f360d2269075784c1f1cbc50 /net/batman-adv
parent934ffce1343f22ed5e2d0bd6da4440f4848074de (diff)
downloadlinux-44e2b838c24d883dae8496dc7b6ddac7956ba53c.tar.xz
xfrm: Return detailed errors from xfrmi_newlink
Currently all failure modes of xfrm interface creation return EEXIST. This change improves the granularity of errnos provided by also returning ENODEV or EINVAL if failures happen in looking up the underlying interface, or a required parameter is not provided. This change has been tested against the Android Kernel Networking Tests, with additional xfrmi_newlink tests here: https://android-review.googlesource.com/c/kernel/tests/+/715755 Signed-off-by: Benedict Wong <benedictwong@google.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions