[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371716040.3252.389.camel@edumazet-glaptop>
Date: Thu, 20 Jun 2013 01:14:00 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: xiaoming gao <gxm.linux.kernel@...il.com>
Cc: stephen@...workplumber.org, davem@...emloft.net,
bridge@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net bridge: add null pointer check, fix panic
On Thu, 2013-06-20 at 15:47 +0800, xiaoming gao wrote:
>
> if you remove the test on FF_BRIDGE_PORT, and br_port_get_rcu never returns NULL, the problem is fixed.
> but the codes in mainline is still bugged, am i right??
> by the way, kernel-stable 3.0 and 3.4 tree also have this bug, and is very easily to reproduce.
Commit 00cfec37484761a4 has to be backported anyway, if not already
backported.
I would rather fix things properly, instead of adding defensive code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists