[BRIDGE]: fix error handling for add interface to bridge
authorStephen Hemminger <shemminger@osdl.org>
Fri, 10 Feb 2006 01:10:12 +0000 (17:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2006 01:10:12 +0000 (17:10 -0800)
commitbab1deea308afcf9200837d6ac20aefe92972efb
treebcf3d6ecb431b7b94cdd2a68e12b97abe3c2ebba
parent5dce971acf2ae20c80d5e9d1f6bbf17376870911
[BRIDGE]: fix error handling for add interface to bridge

Refactor how the bridge code interacts with kobject system.
It should still use kobjects even if not using sysfs.
Fix the error unwind handling in br_add_if.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c
net/bridge/br_private.h
net/bridge/br_sysfs_if.c