aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJon Paul Maloy <[email protected]>2014-08-22 18:09:10 -0400
committerDavid S. Miller <[email protected]>2014-08-23 11:18:34 -0700
commit80e44c22255468337b891da2348cab68cb62766f (patch)
treeda9d58ff818406e20757fa1f431070262d18c93c /tools/perf/scripts/python/net_dropmonitor.py
parent5728901581139e68e6cf53b36590f64829c37453 (diff)
tipc: eliminate function tipc_port_shutdown()
tipc_port_shutdown() is a remnant from the now obsolete native interface. As such it grabs port_lock in order to protect itself from concurrent BH processing. However, after the recent changes to the port/socket upcalls, sockets are now basically single-threaded, and all execution, except the read-only tipc_sk_timer(), is executing within the protection of lock_sock(). So the use of port_lock is not needed here. In this commit we eliminate the whole function, and merge it into its only caller, tipc_shutdown(). Signed-off-by: Jon Maloy <[email protected]> Reviewed-by: Erik Hugne <[email protected]> Reviewed-by: Ying Xue <[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