bond: Get the rtnl_link_ops support correct
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 29 Oct 2009 23:58:54 +0000 (23:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2009 19:41:22 +0000 (12:41 -0700)
- Don't call rtnl_link_unregister if rtnl_link_register fails
- Set .priv_size so we aren't stomping on uninitialized memory
  when we use netdev_priv, on bond devices created with
  ip link add type bond.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found