bonding: correct the cleanup in bond_create()
authorJiri Pirko <jpirko@redhat.com>
Fri, 1 May 2009 22:35:28 +0000 (15:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2009 22:35:28 +0000 (15:35 -0700)
commit1363d9b135270662852ed2e6629fb79a36de5400
treea6096ea7df039de6c40bd900edba2f9b7fc4db5c
parentc047fcd245975f40312ed57bf43e7d4abd188e6b
bonding: correct the cleanup in bond_create()

This patch makes the cleanup in bond_create nicer :) Also now the forgotten
free_netdev is called.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c