On 4/5/19 8:57 PM, Antony Antony wrote: > On Fri, Apr 05, 2019 at 03:07:58PM -0700, Stephen Hemminger wrote: >> On Thu, 4 Apr 2019 19:07:38 +0300 >> Eyal Birger <eyal.bir...@gmail.com> wrote: >> >>> The XFRMA_IF_ID attribute is set in policies/states for them to be >>> associated with an XFRM interface (4.19+). >>> >>> Add support for setting / displaying this attribute. >>> >>> Note that 0 is a valid value therefore set XFRMA_IF_ID if any value >>> was provided in command line. >>> >>> Tested-by: Antony Antony <ant...@phenome.org> >>> Signed-off-by: Eyal Birger <eyal.bir...@gmail.com> >> >> This is already handled by an earlier patch, that I just applied > > Do you mean commit 286446c1 > https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=286446c1e8c7f5f6eca4959015aa9e482b7adb11 > > Matt's patch is to support link. > e.g ip link add ipsec0 type xfrm dev enp0s5 if_id 0xAB > > Eyal's patch for xfrm state and policy. > e.g > ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir in tmpl src > 172.16.1.200 dst 172.16.1.100 proto esp reqid 2 mode tunnel if_id 10 > > Thanks for applying Matt's patch. We need for both patches. > > -antony >
Stephen: since you took Matt's, I am assuming you will take the xfrm patch too.