Re: [ovs-dev] same tcp session encapsulated with different udp src port in kernel mode if packet has do ip_forward

2019-11-08 Thread ychen
I have tested this patch in linux with ovs version 2.8.2, and it seems worked. >From fa24d308d40f37f890fead0b79ac1f0f7baa28ba Mon Sep 17 00:00:00 2001 From: hzchenyuefang Date: Sat, 9 Nov 2019 10:14:23 +0800 Subject: [PATCH 1/1] fix skb_hash problem when sending from internal port first

Re: [ovs-dev] same tcp session encapsulated with different udp src port in kernel mode if packet has do ip_forward

2019-11-05 Thread Tonghao Zhang
On Mon, Nov 4, 2019 at 7:44 PM ychen wrote: > > > > we can easily reproduce this phenomenon by using tcp socket stream sending > from ovs internal port. > > > > > At 2019-10-30 19:49:16, "ychen" wrote: > > Hi, >when we use docker to establish tcp session, we found that the packet > which

Re: [ovs-dev] same tcp session encapsulated with different udp src port in kernel mode if packet has do ip_forward

2019-11-04 Thread ychen
we can easily reproduce this phenomenon by using tcp socket stream sending from ovs internal port. At 2019-10-30 19:49:16, "ychen" wrote: Hi, when we use docker to establish tcp session, we found that the packet which must do upcall to userspace has different encapsulated udp source

[ovs-dev] same tcp session encapsulated with different udp src port in kernel mode if packet has do ip_forward

2019-10-30 Thread ychen
Hi, when we use docker to establish tcp session, we found that the packet which must do upcall to userspace has different encapsulated udp source port with packet that only needs do datapath flow forwarding. After some code research and kprobe debug, we found the following: 1.