summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-07-13 18:25:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-16 09:30:47 +0200
commit0020fa536cc610216f80b798b9a1c9b13c3a37fb (patch)
tree82b3033621f7c7351615a65075f747e0ca50d0a9 /net/ipv4/tcp_output.c
parenta9c221859696f976ba47ba39178af1175e4558e0 (diff)
bonding: set carrier off for devices created through netlink
[ Upstream commit 005db31d5f5f7c31cfdc43505d77eb3ca5cf8ec6 ] 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_masters $ ip link add bond2 type bond $ grep "MII Status" /proc/net/bonding/* /proc/net/bonding/bond0:MII Status: down /proc/net/bonding/bond1:MII Status: down /proc/net/bonding/bond2:MII Status: up Ensure that carrier is initially off also for devices created through netlink. Signed-off-by: Beniamino Galvani <bgalvani@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions