Re: çå: çå: [PATCH] set fake_rtable's dst to NULL toavoid kernel Oops.
From: Eric Dumazet
Date: Thu Mar 29 2012 - 07:31:31 EST
On Thu, 2012-03-29 at 17:38 +0800, Peter Huang (Peng) wrote:
> Thks for your mail.
>
> >Check net/bridge/br_netfilter.c and commits e688a6048076 (net: introduce
> >DST_NOPEER dst flag ) 4adf0af6818f3ea5 (bridge: send correct MTU value
> >in PMTU (revised))
>
> This patch already included in kernel-3.3, but for our case, virtual tap device's delayed
> Deletion will also cause kernel oops even in kernel3.3.
I was suggesting you take a look at the commit content ;)
Then you can see the code in br_nf_local_in(), a bit cleaner than yours.
--
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/