]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd042a11c574f9c7081028be7b2d8e95222942a19
tree16961301bd0491fe827a1bcc29826e92559a8387
parenta85d2a4cfd730a2fc14ecb4a24d753b5c17a56e5
Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"

This reverts commit 73d26648dc36d64b59f0f375fa9d575882bdddb8 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