[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081226.145759.148181271.davem@davemloft.net>
Date: Fri, 26 Dec 2008 14:57:59 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: gro: Fix potential use after free
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Sat, 27 Dec 2008 09:44:01 +1100
> gro: Fix potential use after free
>
> The initial skb may have been freed after napi_gro_complete in
> napi_gro_receive if it was merged into an existing packet. Thus
> we cannot check same_flow (which indicates whether it was merged)
> after calling napi_gro_complete.
>
> This patch fixes this by saving the same_flow status before the
> call to napi_gro_complete.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks Herbert.
--
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