[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130324.172804.152818486141712380.davem@davemloft.net>
Date: Sun, 24 Mar 2013 17:28:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: honkiko@...il.com
Cc: netdev@...r.kernel.org, bridge@...ts.linux-foundation.org,
stephen@...workplumber.org, herbert@...dor.hengli.com.au,
zhiguo.hong@....com
Subject: Re: [PATCH] bridge: fix crash when set mac address of br interface
From: Hong Zhiguo <honkiko@...il.com>
Date: Sat, 23 Mar 2013 20:27:50 +0800
> When I tried to set mac address of a bridge interface to a mac
> address which already learned on this bridge, I got system hang.
>
> The cause is straight forward: function br_fdb_change_mac_address
> calls fdb_insert with NULL source nbp. Then an fdb lookup is
> performed. If an fdb entry is found and it's local, it's OK. But
> if it's not local, source is dereferenced for printk without NULL
> check.
>
> Signed-off-by: Hong Zhiguo <honkiko@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists