Re: [PATCH net-next 1/8] net: local checksum offload for encapsulation

2016-01-27 Thread Zang MingJie
I have also noticed that for gso, all gso segs will have exactly same outer udp checksum, this is also because inner checksum cancellation. Can we also optimize that outer udp checksum should be only calculated once for all gso segs ? On 01/09/2016 03:45 AM, Edward Cree wrote: The arithmetic

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-06 Thread Zang MingJie
On Thu, Aug 6, 2015 at 1:45 AM, Alexander Duyck wrote: > On 08/05/2015 02:06 AM, Daniel Borkmann wrote: >> >> [ please cc netdev ] >> >> On 08/05/2015 10:56 AM, Zang MingJie wrote: >>> >>> Hi: >>> >>> I found a bug when remove an ip a

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-07 Thread Zang MingJie
routing decision is totally different. SAME routing table, DIFFERENT routing decision, there MUST be bugs in kernel. On Thu, Aug 6, 2015 at 3:43 PM, Alexander Duyck wrote: > On 08/06/2015 03:13 AM, Zang MingJie wrote: >> >> On Thu, Aug 6, 2015 at 1:45 AM, Alexander Duyck >>

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-08 Thread Zang MingJie
Days ago I mistakenly set the gateway address on my box, then add the default router, after I deleted the address my box can't access Internet and all things looks fine. It takes me several hours to figure out it is an kernel bug. >On Sat, Aug 8, 2015, 1:00 AM Hannes Frederic Sowa >wrote: >If we

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-10 Thread Zang MingJie
code, not sure if worth it On Mon, Aug 10, 2015 at 5:16 AM, Hannes Frederic Sowa wrote: > Hello, > > Zang MingJie writes: >> Days ago I mistakenly set the gateway address on my box, then add the >> default router, after I deleted the address my box can't access >> In

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-12 Thread Zang MingJie
On Wed, Aug 12, 2015 at 4:52 AM, Alexander Duyck wrote: > On 08/10/2015 04:50 AM, Hannes Frederic Sowa wrote: >> >> Hello, >> >> Zang MingJie writes: >> >>> Here comes several options: >>> >>> 1. reject local next hop w/ EINVAL >