[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090414.020955.142541912.davem@davemloft.net>
Date: Tue, 14 Apr 2009 02:09:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: tun: Fix crash with non-GSO users
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Tue, 14 Apr 2009 12:22:58 +0800
> tun: Fix crash with non-GSO users
>
> When I made the tun driver use non-linear packets as the preferred
> option, it broke non-GSO users because they would end up allocating
> a completely non-linear packet, which triggers a crash when we call
> eth_type_trans.
>
> This patch reverts non-GSO users to using linear packets and adds
> a check to ensure that GSO users can't cause crashes in the same
> way.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks a lot 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