diff options
author | 2018-10-04 11:09:40 +0200 | |
---|---|---|
committer | 2018-10-05 14:34:45 -0700 | |
commit | 068b88cc175d594393f501a137c7a4af9f356c39 (patch) | |
tree | c1eb50ea94e8064bca08243b34d5eb319daa0c12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | atm: nicstar: Replace spin_is_locked() with spin_trylock() (diff) | |
download | wireguard-linux-068b88cc175d594393f501a137c7a4af9f356c39.tar.xz wireguard-linux-068b88cc175d594393f501a137c7a4af9f356c39.zip |
socket: Tighten no-error check in bind()
move_addr_to_kernel() returns only negative values on error, or zero on
success. Rewrite the error check to an idiomatic form to avoid confusing
the reader.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.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