summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorAntony Antony <antony.antony@secunet.com>2021-12-12 13:35:00 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2021-12-17 09:17:35 +0300
commit68ac0f3810e76a853b5f7b90601a05c3048b8b54 (patch)
tree3c0a67f364771746a0ca533513fc7d2da0d92464 /include/net
parent8dce43919566f06e865f7e8949f5c10d8c2493f5 (diff)
downloadlinux-68ac0f3810e76a853b5f7b90601a05c3048b8b54.tar.xz
xfrm: state and policy should fail if XFRMA_IF_ID 0
xfrm ineterface does not allow xfrm if_id = 0 fail to create or update xfrm state and policy. With this commit: ip xfrm policy add src 192.0.2.1 dst 192.0.2.2 dir out if_id 0 RTNETLINK answers: Invalid argument ip xfrm state add src 192.0.2.1 dst 192.0.2.2 proto esp spi 1 \ reqid 1 mode tunnel aead 'rfc4106(gcm(aes))' \ 0x1111111111111111111111111111111111111111 96 if_id 0 RTNETLINK answers: Invalid argument v1->v2 change: - add Fixes: tag Fixes: 9f8550e4bd9d ("xfrm: fix disable_xfrm sysctl when used on xfrm interfaces") Signed-off-by: Antony Antony <antony.antony@secunet.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions