Re: VETH & AF_PACKET problem

2018-11-19 Thread Anand H. Krishnan
t; wrote: > > > > On Mon, Nov 19, 2018 at 6:00 AM Anand H. Krishnan > > wrote: > > > > > > Hello, > > > > > > I tried the 4.19.2 kernel without success. You were probably right > > > that skb_orphan > > > is indeed called fro

Re: VETH & AF_PACKET problem

2018-11-19 Thread Anand H. Krishnan
] ? __do_page_fault+0x270/0x4d0 [ 324.709919] __x64_sys_sendto+0x28/0x30 [ 324.709924] do_syscall_64+0x5a/0x120 [ 324.709926] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Thanks, Anand On Wed, Nov 14, 2018 at 10:11 AM Willem de Bruijn wrote: > > On Tue, Nov 13, 2018 at 8:29 PM Anand H. Krishnan &g

Re: VETH & AF_PACKET problem

2018-11-13 Thread Anand H. Krishnan
Ok. I have 4.18.11 ubuntu. I will try out the latest kernel and will let you know. Thank you for your opinion and help. Thanks, Anand On Wed, Nov 14, 2018 at 10:11 AM Willem de Bruijn wrote: > > On Tue, Nov 13, 2018 at 8:29 PM Anand H. Krishnan > wrote: > > > > skb_scrub_pa

Re: VETH & AF_PACKET problem

2018-11-13 Thread Anand H. Krishnan
[bump] Hello, Any ideas? AF_PACKET with veth seems to be incompatible. I am using DPDK to bind af_packet with one end of VETH pair and the other end of the pair is in a container. Thanks, Anand On Mon, Nov 12, 2018 at 12:42 PM Anand H. Krishnan wrote: > > Hello, > > We are seei

VETH & AF_PACKET problem

2018-11-11 Thread Anand H. Krishnan
Hello, We are seeing a problem with AF_PACKET when used along with the veth interfaces. SCP complains that message authentication code is incorrect. I was browsing the code and I see that veth_xmit calls dev_forward_skb which does a skb_scrub_packet, which in turn calls the skb destructor fun

Bug in skb_gro_receive - possible bad page state problems?

2017-05-04 Thread Anand H. Krishnan
Hello, Is skb_gro_receive doing the right thing for cloned packets? When we are merging fragments, we do not seem to be taking a reference to the underlying page. To me, it looks like it should work fine for non-cloned packets. However, for cloned packets, when the gro-ed packet is eventually fre