diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-27 13:52:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-27 13:52:05 +0300 |
commit | 8d6184e4881b423522136aeb3ec1cbd9c35e8813 (patch) | |
tree | fc9c33ee44e199b65d0e619a6ced118f8f0bbec3 /include/linux | |
parent | 3729d5021257b283f7fce33d957893162ccb2c9d (diff) | |
download | linux-8d6184e4881b423522136aeb3ec1cbd9c35e8813.tar.xz |
bonding: fix device leak on error in bond_create()
When the register_netdevice() call fails, the newly allocated device is
not freed.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions