aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_emac/ibm_emac_debug.h
diff options
context:
space:
mode:
authorVolodymyr G Lukiianyk <[email protected]>2008-04-29 03:17:42 -0700
committerDavid S. Miller <[email protected]>2008-04-29 03:17:42 -0700
commit43af8532ecd74a61f9e7aeb27c026c1ee27915ca (patch)
treeb7a012195373a4ac2d43f949199199bab7e5e30d /drivers/net/ibm_emac/ibm_emac_debug.h
parent9a732ed6d0e126d4c8a818f42a13f3df11755bee (diff)
bridge: fix error handling in br_add_if()
When device is added to bridge its refcnt is incremented (in new_nbp()), but if error occurs during further br_add_if() operations this counter is not decremented back. Fix it by adding dev_put() call in the error path. Signed-off-by: Volodymyr G Lukiianyk <[email protected]> Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.h')
0 files changed, 0 insertions, 0 deletions