]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: modify bond_get_slave_by_dev() to use neighbours
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 25 Sep 2013 07:20:11 +0000 (09:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Sep 2013 20:02:04 +0000 (16:02 -0400)
commit7fba625f8bcd508afcc47c9a5dafd9d93936c5f9
treefabad7b75392d05ce3547779ec83dad83b49b962
parenta07e4130d858d67977e67d18cca0fd6269b3198e
bonding: modify bond_get_slave_by_dev() to use neighbours

It should be used under rtnl/bonding lock, so use the non-RCU version.

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bonding.h