Vincent Bernat 83ba464515 net: add helpers checking if socket can be bound to nonlocal address
The construction "net->ipv4.sysctl_ip_nonlocal_bind || inet->freebind
|| inet->transparent" is present three times and its IPv6 counterpart
is also present three times. We introduce two small helpers to
characterize these tests uniformly.

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-01 09:50:04 -07:00
..
2018-07-24 14:10:42 -07:00
2018-03-27 13:18:09 -04:00
2018-05-11 00:10:56 +02:00
2017-05-21 13:42:36 -04:00
2018-06-22 13:43:27 +09:00
2018-07-24 14:10:43 -07:00
2018-05-16 07:24:30 +02:00
2018-06-22 13:43:27 +09:00