]> 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)
commited4f77d0b63d5ca455325326c724e6d50cbf144e
tree16961301bd0491fe827a1bcc29826e92559a8387
parent9596fa489268f8ebf9948612955e40b7343c3c63
Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"

This reverts commit 5d808d16a09354ff56c05d1fead35e1136a24005 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