[<prev] [next>] [day] [month] [year] [list]
Message-ID: <542A9955.9010609@dev.mellanox.co.il>
Date: Tue, 30 Sep 2014 14:51:49 +0300
From: Erez Shitrit <erezsh@....mellanox.co.il>
To: erezsh@...lanox.com, davem@...emloft.net, eric.dumazet@...il.com
CC: netdev@...r.kernel.org
Subject: Re: Re: [PATCH net] gro: fix aggregation for skb using frag_list
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Monday, September 29, 2014 10:19 PM
> To: eric.dumazet@...il.com
> Cc: netdev@...r.kernel.org; Erez Shitrit
> Subject: Re: [PATCH net] gro: fix aggregation for skb using frag_list
>
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Mon, 29 Sep 2014 10:34:29 -0700
>
>> From: Eric Dumazet <edumazet@...gle.com>
>>
>> In commit 8a29111c7ca6 ("net: gro: allow to build full sized skb") I
>> added a regression for linear skb that traditionally force GRO to use
>> the frag_list fallback.
>>
>> Erez Shitrit found that at most two segments were aggregated and the
>> "if (skb_gro_len(p) != pinfo->gso_size)" test was failing.
>>
>> This is because pinfo at this spot still points to the last skb in the
>> chain, instead of the first one, where we find the correct gso_size
>> information.
>>
>> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
>> Fixes: 8a29111c7ca6 ("net: gro: allow to build full sized skb")
>> Reported-by: Erez Shitrit <erezsh@...lanox.com>
> Applied and queued up for -stable, thanks Eric.
>
Tested. and it works for IPoIB driver. Thanks Eric.
Erez
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists