Re: BUG: unable to handle kernel NULL pointer dereference inipv6_select_ident

From: Steffen Klassert
Date: Thu Dec 22 2011 - 05:01:28 EST


On Thu, Dec 22, 2011 at 09:05:38AM +0100, Eric Dumazet wrote:
>
> By the way we no longer have this 1500 hard coded, not sure it it
> matters or not, but it looks better anyway.
>

It looks like the bridge code sets the mtu value on this metric
to the mtu of the bridge device in br_add_if(). So seems to be
not really fixed to 1500. Not sure why netfilter really needs
to have this 1500 in the metric before the mtu is initialized
from the bridge code.

We could make fake_mtu() look like dn_dst_mtu(). The mtu of the
bridge device should be reflected in the metric once the bridge
code initialized it. Also learned pmtu values would be taken
into account then.

--
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/