aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-03-01 23:05:16 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-04 13:00:57 -0500
commit8e87c6eb18f9d7427054f28a284d495c174d9970 (patch)
tree0b863b60f33ae9b005658173feee30c7f9528eb3 /tools/perf/scripts/python/event_analyzing_sample.py
parentsctp: factor out sctp_sendmsg_update_sinfo from sctp_sendmsg (diff)
downloadlinux-8e87c6eb18f9d7427054f28a284d495c174d9970.tar.gz
linux-8e87c6eb18f9d7427054f28a284d495c174d9970.zip
sctp: remove the unnecessary transport looking up from sctp_sendmsg
Now sctp_assoc_lookup_paddr can only be called only if daddr has been set. But if daddr has been set, sctp_endpoint_lookup_assoc would be done, where it could already have the transport. So this unnecessary transport looking up should be removed, but only reset transport as NULL when SCTP_ADDR_OVER is not set for UDP type socket. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions