Re: [PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2024-10-07 Thread Stephen Hemminger
On Wed, 22 Nov 2023 15:58:40 +0800 supeng2087 wrote: > From: supeng > > Inbound direction, sad_lookup function will call cmp_sa_key to compare packet > outer ip info with local sa. Local sa src ip should equal packet dst ip, > Local sa dst ip should equal src ip. > --- > examples/ipsec-se

Re: [PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread David Marchand
Hello, On Wed, Nov 22, 2023 at 9:18 AM supeng2087 wrote: > > From: supeng > > Inbound direction, sad_lookup function will call cmp_sa_key to compare packet > outer ip info with local sa. Local sa src ip should equal packet dst ip, > Local sa dst ip should equal src ip. No need to send 5 ma

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng2087
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions(

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions(

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions(

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions(

[PATCH] examples/ipsec-secgw: fix cmp_sa_key bug

2023-11-22 Thread supeng
From: supeng Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. --- examples/ipsec-secgw/sad.h | 8 1 file changed, 4 insertions(+), 4 deletions(