[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091117.051845.16811152.davem@davemloft.net>
Date: Tue, 17 Nov 2009 05:18:45 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org, mwagner@...hat.com
Subject: Re: gro: Fix illegal merging of trailer trash
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Tue, 17 Nov 2009 20:44:14 +0800
> gro: Fix illegal merging of trailer trash
>
> When we've merged skb's with page frags, and subsequently receive
> a trailer skb (< MSS) that is not completely non-linear (this can
> occur on Intel NICs if the packet size falls below the threshold),
> GRO ends up producing an illegal GSO skb with a frag_list.
>
> This is harmless unless the skb is then forwarded through an
> interface that requires software GSO, whereupon the GSO code
> will BUG.
>
> This patch detects this case in GRO and avoids merging the
> trailer skb.
>
> Reported-by: Mark Wagner <mwagner@...hat.com>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, and queued up for -stable, thanks.
--
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