Guillaume Nault
c5fdae0440
l2tp: rework socket comparison in __l2tp_ip*_bind_lookup()
...
Split conditions, so that each test becomes clearer.
Also, for l2tp_ip, check if "laddr" is 0. This prevents a socket from
binding to the unspecified address when other sockets are already bound
using the same device (if any), connection ID and namespace.
Same thing for l2tp_ip6: add ipv6_addr_any(laddr) and
ipv6_addr_any(raddr) tests to ensure that an IPv6 unspecified address
passed as parameter is properly treated a wildcard.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-01-06 22:18:56 -05:00
..
2016-09-19 20:19:34 +02:00
2016-09-23 13:47:44 -04:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-09-10 21:19:10 -07:00
2016-12-28 15:11:32 -05:00
2016-12-24 11:46:01 -08:00
2016-12-06 21:33:19 -05:00
2016-12-16 10:24:44 -08:00
2016-12-24 11:46:01 -08:00
2016-12-06 21:33:19 -05:00
2016-12-25 17:21:22 +01:00
2016-12-14 22:39:08 +01:00
2017-01-05 11:03:07 -05:00
2016-12-03 23:54:25 -05:00
2016-12-03 12:29:53 -05:00
2016-12-24 11:46:01 -08:00
2017-01-06 15:49:10 -05:00
2016-11-07 20:15:55 -05:00
2016-10-30 12:42:58 -04:00
2016-12-16 00:13:43 +02:00
2017-01-06 20:56:48 -05:00
2017-01-06 15:39:31 -05:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-12 19:25:04 -08:00
2016-10-07 15:36:58 -07:00
2016-11-18 10:59:15 -05:00
2017-01-06 22:18:56 -05:00
2016-09-10 23:12:53 -07:00
2016-12-24 11:46:01 -08:00
2016-11-14 13:17:21 -05:00
2017-01-02 11:28:25 +01:00
2016-12-25 17:21:22 +01:00
2016-12-06 21:33:19 -05:00
2016-10-20 11:23:08 -04:00
2016-12-25 17:21:22 +01:00
2016-10-27 16:16:09 -04:00
2016-12-24 11:46:01 -08:00
2016-10-27 16:16:09 -04:00
2016-12-27 12:28:07 -05:00
2017-01-04 23:55:42 -05:00
2016-11-18 10:59:15 -05:00
2017-01-06 22:14:26 -05:00
2016-12-24 11:46:01 -08:00
2017-01-05 11:39:44 +00:00
2017-01-05 11:03:07 -05:00
2017-01-06 21:07:26 -05:00
2016-10-12 01:51:49 -04:00
2016-12-25 17:21:22 +01:00
2016-10-30 12:42:58 -04:00
2017-01-03 11:13:05 -05:00
2016-12-24 11:46:01 -08:00
2016-12-17 20:17:04 -08:00
2016-10-27 16:16:09 -04:00
2016-12-16 00:13:43 +02:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2017-01-04 13:24:19 -05:00
2016-12-02 10:51:49 -05:00
2017-01-05 11:03:07 -05:00
2016-10-06 09:52:23 -07:00