aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorYing Xue <[email protected]>2014-04-21 10:55:49 +0800
committerDavid S. Miller <[email protected]>2014-04-22 21:17:53 -0400
commitf1c8d8cb82113ea6f41d2774127d3d08a4ca8d46 (patch)
tree2d693909807175458e181073041ec2d63cdb3fa0 /tools/perf/scripts/python/netdev-times.py
parent7216cd949c9bd56a4ccd952c624ab68f8c9aa0a4 (diff)
tipc: make media_ptr pointed netdevice valid
The 'media_ptr' pointer in bearer structure which points to network device, is protected by RCU. So, before netdevice is released, synchronize_net() should be involved to prevent no any user of the netdevice on read side from accessing it after it is freed. Signed-off-by: Ying Xue <[email protected]> Reviewed-by: Jon Maloy <[email protected]> Reviewed-by: Erik Hugne <[email protected]> Tested-by: Erik Hugne <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions