aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x
diff options
context:
space:
mode:
authorHong zhi guo <honkiko@gmail.com>2013-03-23 02:27:50 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-24 17:27:28 -0400
commit9b46922e15f4d9d2aedcd320c3b7f7f54d956da7 (patch)
tree3fd73d6097682ac338c6f78981dbc19f7a8a4825 /drivers/net/ethernet/broadcom/bnx2x
parent8021q: fix a potential use-after-free (diff)
downloadlinux-dev-9b46922e15f4d9d2aedcd320c3b7f7f54d956da7.tar.xz
linux-dev-9b46922e15f4d9d2aedcd320c3b7f7f54d956da7.zip
bridge: fix crash when set mac address of br interface
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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
0 files changed, 0 insertions, 0 deletions