aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-25 07:40:48 -0400
committerDavid S. Miller <davem@davemloft.net>2020-08-25 06:20:10 -0700
commit0ce779a9f50108c26541b54c12a0808ba1be103a (patch)
treeca9c4fb10d74c4346125d91877a6c843bb526724 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: Set ping saddr after we successfully get the ping port (diff)
downloadlinux-0ce779a9f50108c26541b54c12a0808ba1be103a.tar.gz
linux-0ce779a9f50108c26541b54c12a0808ba1be103a.zip
net: Avoid unnecessary inet_addr_type() call when addr is INADDR_ANY
We can avoid unnecessary inet_addr_type() call by check addr against INADDR_ANY first. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions