Re: Possible bug in net/ipv4/route.c?

From: David Miller
Date: Wed Jul 07 2010 - 17:46:02 EST


From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jul 2010 15:29:28 +0800

> bridge: Clear IPCB before possible entry into IP stack
>
> The bridge protocol lives dangerously by having incestuous relations
> with the IP stack. In this instance an abomination has been created
> where a bogus IPCB area from a bridged packet leads to a crash in
> the IP stack because it's interpreted as IP options.
>
> This patch papers over the problem by clearing the IPCB area in that
> particular spot. To fix this properly we'd also need to parse any
> IP options if present but I'm way too lazy for that.
>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Applied, thanks a lot!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/