Thread (15 messages) 15 messages, 4 authors, 2010-08-27

Re: [PATCH net-next-2.6 v3] gro: __napi_gro_receive() optimizations

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 +0200
quoted
+	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 :)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help