commit | 8d6184e4881b423522136aeb3ec1cbd9c35e8813 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sat Feb 27 02:52:05 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 27 02:52:05 2010 -0800 |
tree | fc9c33ee44e199b65d0e619a6ced118f8f0bbec3 | |
parent | 3729d5021257b283f7fce33d957893162ccb2c9d [diff] |
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>