From: dingtianhong Date: Fri, 13 Dec 2013 02:19:55 +0000 (+0800) Subject: bonding: create bond_first_slave_rcu() X-Git-Tag: v3.14-rc1~94^2~495^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e001bfad913bf119fb67c1e8dd2d4ec1f5d392fa;p=pandora-kernel.git bonding: create bond_first_slave_rcu() The bond_first_slave_rcu() will be used to instead of bond_first_slave() in rcu_read_lock(). According to the Jay Vosburgh's suggestion, the struct netdev_adjacent should hide from users who wanted to use it directly. so I package a new function to get the first slave of the bond. Suggested-by: Nikolay Aleksandrov Suggested-by: Jay Vosburgh Suggested-by: Veaceslav Falico Signed-off-by: Ding Tianhong Signed-off-by: David S. Miller --- Reading git-diff-tree failed