From: Nikolay Aleksandrov Date: Mon, 15 Sep 2014 15:19:33 +0000 (+0200) Subject: bonding: consolidate the two rlb_next_rx_slave functions into one X-Git-Tag: fixes-against-v3.18-rc2~81^2~55^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56924c3811ae843527f7a1090ead73a0acf704a4;p=pandora-kernel.git bonding: consolidate the two rlb_next_rx_slave functions into one __rlb_next_rx_slave() is a copy of rlb_next_rx_slave() with the difference that it uses rcu primitives to walk the slave list. We don't need the two functions and can make rlb_next_rx_slave() a wrapper for callers which hold RTNL. So add a comment and ASSERT_RTNL() to make sure what is intended. Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed