]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bonding: use rtnl_deref in bond_change_rx_flags()
authorVeaceslav Falico <vfalico@gmail.com>
Wed, 16 Jul 2014 16:32:01 +0000 (18:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:06:52 +0000 (16:06 -0700)
commit14056e7930761b730e2b34ae716e151ba890f3bf
tree8a8323db360761f0f456861f66895b115177bcda
parentc104178dda67c9d8de763e0baa60a00d10d9a839
bonding: use rtnl_deref in bond_change_rx_flags()

As it's always called with RTNL held, via dev_set_allmulti/promiscuity.
Also, remove the wrong comment.

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c