]> git.proxmox.com Git - mirror_iproute2.git/commit
ip xfrm: policy: support policies with IF_ID in get/delete/deleteall
authorEyal Birger <eyal.birger@gmail.com>
Thu, 9 Jul 2020 06:29:48 +0000 (09:29 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 13 Jul 2020 15:51:37 +0000 (08:51 -0700)
commitf33a871b8094ae0f6e6293804e1cc6edbba0e108
treec185c9c879f958f36665d91b2efd83c41f39709c
parentee93c1107fa50bebd181b289d7e3531c51b7779e
ip xfrm: policy: support policies with IF_ID in get/delete/deleteall

The XFRMA_IF_ID attribute is set in policies for them to be
associated with an XFRM interface (4.19+).

Add support for getting/deleting policies with this attribute.

For supporting 'deleteall' the XFRMA_IF_ID attribute needs to be
explicitly copied.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/xfrm_policy.c
man/man8/ip-xfrm.8