Re: [PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces

2020-07-07 Thread Dan Carpenter
Hi Xin, url: https://github.com/0day-ci/linux/commits/Xin-Long/xfrm-state-match-with-both-mark-and-mask-on-user-interfaces/20200630-141906 base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git master config: arm-randconfig-m031-20200701 (attached as .config) compiler: arm

Re: [PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces

2020-07-07 Thread Xin Long
On Tue, Jul 7, 2020 at 2:17 PM Steffen Klassert wrote: > > On Mon, Jul 06, 2020 at 04:33:53PM +0800, Xin Long wrote: > > > > > > > @@ -1051,7 +1061,6 @@ xfrm_state_find(const xfrm_address_t *daddr, > > > > const xfrm_address_t *saddr, > > > > int acquire_in_progress = 0; > > > > int e

Re: [PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces

2020-07-06 Thread Steffen Klassert
On Mon, Jul 06, 2020 at 04:33:53PM +0800, Xin Long wrote: > > > > > @@ -1051,7 +1061,6 @@ xfrm_state_find(const xfrm_address_t *daddr, const > > > xfrm_address_t *saddr, > > > int acquire_in_progress = 0; > > > int error = 0; > > > struct xfrm_state *best = NULL; > > > - u32

Re: [PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces

2020-07-06 Thread Xin Long
Hi, Tobias Sorry for late. On Tue, Jun 30, 2020 at 5:08 PM Tobias Brunner wrote: > > Hi Xin, > > > Similar to commit 4f47e8ab6ab79 ("xfrm: policy: match with both mark and > > mask on user interfaces"), this patch is to match both mark and mask for > > state on these user interfaces: > > > > x

Re: [PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces

2020-06-30 Thread Tobias Brunner
Hi Xin, > Similar to commit 4f47e8ab6ab79 ("xfrm: policy: match with both mark and > mask on user interfaces"), this patch is to match both mark and mask for > state on these user interfaces: > > xfrm_state_lookup_byaddr_user > xfrm_state_lookup_user > xfrm_state_update > xfrm_state_find

[PATCH ipsec] xfrm: state: match with both mark and mask on user interfaces

2020-06-29 Thread Xin Long
Similar to commit 4f47e8ab6ab79 ("xfrm: policy: match with both mark and mask on user interfaces"), this patch is to match both mark and mask for state on these user interfaces: xfrm_state_lookup_byaddr_user xfrm_state_lookup_user xfrm_state_update xfrm_state_find xfrm_state_add __