Re: 答复: 答复: [PATCH] set fake_rtable's dst to NULL to avoid kernel Oops.

Eric Dumazet
2012-03-29T11:31:27Z

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.