Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
authorKai Lueke <kailueke@linux.microsoft.com>
Thu, 3 Mar 2022 14:55:10 +0000 (15:55 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Sun, 6 Mar 2022 07:38:28 +0000 (08:38 +0100)
commita3d9001b4e287fc043e5539d03d71a32ab114bcb
tree16961301bd0491fe827a1bcc29826e92559a8387
parent4ff2980b6bd2aa6b4ded3ce3b7c0ccfab29980af
Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"

This reverts commit 68ac0f3810e76a853b5f7b90601a05c3048b8b54 because ID
0 was meant to be used for configuring the policy/state without
matching for a specific interface (e.g., Cilium is affected, see
https://github.com/cilium/cilium/pull/18789 and
https://github.com/cilium/cilium/pull/19019).

Signed-off-by: Kai Lueke <kailueke@linux.microsoft.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_user.c