aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVlad Yasevich <[email protected]>2015-08-28 21:23:39 -0400
committerDavid S. Miller <[email protected]>2015-08-28 22:25:43 -0700
commit73e6742027f5cb5a7c747d9abab5351b01fd4c74 (patch)
tree5fc03ff07997ea5883a9279ce5d2b77d9407328c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb0d4943eec9a42c7ba2065f6cfa949894204dd4a (diff)
sctp: Do not try to search for the transport twice
When removing an non-primary transport during ASCONF processing, we end up traversing the transport list twice: once in sctp_cmd_del_non_primary, and once in sctp_assoc_del_peer. We can avoid the second search and call sctp_assoc_rm_peer() instead. Found by code inspection during code reviews. Signed-off-by: Vladislav Yasevich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions