commit | 068b88cc175d594393f501a137c7a4af9f356c39 | [log] [tgz] |
---|---|---|
author | Jakub Sitnicki <jakub@cloudflare.com> | Thu Oct 04 11:09:40 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 05 14:34:45 2018 -0700 |
tree | c1eb50ea94e8064bca08243b34d5eb319daa0c12 | |
parent | 9a694c1de396e24565bfd05d0e36f72d10c3bce2 [diff] |
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>