Thread (3 messages) 3 messages, 2 authors, 2012-10-23

Re: ipv4 gro receive IHL

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-10-23 06:27:16

From: Eric Dumazet <redacted>
Date: Tue, 23 Oct 2012 08:01:34 +0200
GRO on IPv4 only supports ihl = 5, this is tested in :

if (*(u8 *)iph != 0x45)
    goto out_unlock;

I also was planning to add some code to ip_fast_csum(addr, X) to have a
fast path (no conditional jump) for the case where X is the constant 5
Oh indeed, thanks for clearing that up.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help