summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_hdr.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-03-25 21:01:47 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-25 21:01:47 -0700
commitcda6d377ec6b2ee2e58d563d0bd7eb313e0165df (patch)
tree9c3f3b1081ce04a9056d3f31675d7d16146c0127 /drivers/net/netxen/netxen_nic_hdr.h
parentc80dd2da736ba235c2ca5dcaa00aac6907786c5b (diff)
downloadkernel-crypto-cda6d377ec6b2ee2e58d563d0bd7eb313e0165df.tar.gz
kernel-crypto-cda6d377ec6b2ee2e58d563d0bd7eb313e0165df.tar.xz
kernel-crypto-cda6d377ec6b2ee2e58d563d0bd7eb313e0165df.zip
bridge: bad error handling when adding invalid ether address
This fixes an crash when empty bond device is added to a bridge. If an interface with invalid ethernet address (all zero) is added to a bridge, then bridge code detects it when setting up the forward databas entry. But the error unwind is broken, the bridge port object can get freed twice: once when ref count went to zeo, and once by kfree. Since object is never really accessible, just free it. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_hdr.h')
0 files changed, 0 insertions, 0 deletions