diff options
author | Benedict Wong <benedictwong@google.com> | 2018-07-25 23:45:29 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-07-26 08:17:26 +0300 |
commit | 44e2b838c24d883dae8496dc7b6ddac7956ba53c (patch) | |
tree | 7ce16ee0b9d72799f360d2269075784c1f1cbc50 /drivers/net/ethernet/marvell/Kconfig | |
parent | 934ffce1343f22ed5e2d0bd6da4440f4848074de (diff) | |
download | linux-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 'drivers/net/ethernet/marvell/Kconfig')
0 files changed, 0 insertions, 0 deletions