[Bridge] [PATCH] bridge: Don't put partly initialized fdb into hash
David Miller
davem at davemloft.net
Fri Feb 4 13:02:47 PST 2011
From: Pavel Emelyanov <xemul at parallels.com>
Date: Fri, 04 Feb 2011 18:58:08 +0300
> The fdb_create() puts a new fdb into hash with only addr set. This is
> not good, since there are callers, that search the hash w/o the lock
> and access all the other its fields.
>
> Applies to current netdev tree.
>
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Whoa, good catch. Applied, thanks!
More information about the Bridge
mailing list