diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-27 02:52:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-27 02:52:05 -0800 |
commit | 8d6184e4881b423522136aeb3ec1cbd9c35e8813 (patch) | |
tree | fc9c33ee44e199b65d0e619a6ced118f8f0bbec3 /kernel | |
parent | 3729d5021257b283f7fce33d957893162ccb2c9d (diff) | |
download | kernel_samsung_espresso10-8d6184e4881b423522136aeb3ec1cbd9c35e8813.zip kernel_samsung_espresso10-8d6184e4881b423522136aeb3ec1cbd9c35e8813.tar.gz kernel_samsung_espresso10-8d6184e4881b423522136aeb3ec1cbd9c35e8813.tar.bz2 |
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 'kernel')
0 files changed, 0 insertions, 0 deletions