Re: [PATCH net-next-2.6 v3] gro: __napi_gro_receive() optimizations
From: Eric Dumazet <hidden>
Date: 2010-08-27 04:43:50
From: Eric Dumazet <hidden>
Date: 2010-08-27 04:43:50
Le jeudi 26 août 2010 à 21:38 -0700, David Miller a écrit :
From: Eric Dumazet <redacted> Date: Fri, 27 Aug 2010 06:35:13 +0200quoted
+ fold |= *(unsigned long *)(a + 6) ^ *(unsigned long *)(b + 6);Shouldn't these be "+ 8" instead of "+ 6"?
Not really, we want to compare 14 bytes, not 16 So we have (sizeof(long) + sizeof(long)) - intersection I guess I should comment this :)