diff options
| author | dingtianhong <[email protected]> | 2013-12-13 10:19:55 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-12-14 01:58:02 -0500 |
| commit | e001bfad913bf119fb67c1e8dd2d4ec1f5d392fa (patch) | |
| tree | fe08e42121a1b5e9bf173af18c04e78c884cc5bf /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 2e52f4fe3655c7a2311070c6713f7feabc75486c (diff) | |
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 <[email protected]>
Suggested-by: Jay Vosburgh <[email protected]>
Suggested-by: Veaceslav Falico <[email protected]>
Signed-off-by: Ding Tianhong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions