Re: [PATCH] bonding: set carrier off for devices created through netlink

2016-07-14 Thread David Miller
From: Beniamino Galvani Date: Wed, 13 Jul 2016 18:25:08 +0200 > Commit e826eafa65c6 ("bonding: Call netif_carrier_off after > register_netdevice") moved netif_carrier_off() from bond_init() to > bond_create(), but the latter is called only for initial default > devices and ones created through sy

[PATCH] bonding: set carrier off for devices created through netlink

2016-07-13 Thread Beniamino Galvani
Commit e826eafa65c6 ("bonding: Call netif_carrier_off after register_netdevice") moved netif_carrier_off() from bond_init() to bond_create(), but the latter is called only for initial default devices and ones created through sysfs: $ modprobe bonding $ echo +bond1 > /sys/class/net/bonding_master