Josef Bacik
fbed24bcc6
inet: fix improper empty comparison
...
When doing my reuseport rework I screwed up and changed a
if (hlist_empty(&tb->owners))
to
if (!hlist_empty(&tb->owners))
This is obviously bad as all of the reuseport/reuse logic was reversed,
which caused weird problems like allowing an ipv4 bind conflict if we
opened an ipv4 only socket on a port followed by an ipv6 only socket on
the same port.
Fixes: b9470c2760
("inet: kill smallest_size and smallest_port")
Reported-by: Cole Robinson <crobinso@redhat.com >
Signed-off-by: Josef Bacik <jbacik@fb.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-09-22 20:33:17 -07:00
..
2017-04-12 22:02:40 +02:00
2017-09-04 19:05:16 -04:00
2017-06-20 13:30:14 -04:00
2017-06-26 23:13:22 -04:00
2017-06-16 11:48:40 -04:00
2017-08-09 22:43:50 -07:00
2017-07-04 22:35:19 +01:00
2017-08-09 16:28:45 -07:00
2017-09-09 17:56:05 -07:00
2017-05-02 11:46:28 -04:00
2017-09-05 11:51:47 -07:00
2017-07-01 07:39:08 -07:00
2017-08-09 16:57:38 -07:00
2017-09-06 19:56:49 +02:00
2017-09-22 20:31:29 -07:00
2017-08-09 16:57:38 -07:00
2017-08-31 11:43:47 -07:00
2017-09-03 17:08:42 -07:00
2017-03-03 10:16:38 -08:00
2017-09-05 11:53:34 -07:00
2017-06-16 11:48:40 -04:00
2017-08-22 13:40:23 -07:00
2017-09-05 20:03:35 -07:00
2017-02-03 15:16:45 -05:00
2017-09-22 20:33:17 -07:00
2017-09-19 16:44:02 -07:00
2017-07-04 22:35:17 +01:00
2017-07-03 02:31:22 -07:00
2017-09-01 17:42:05 -07:00
2017-08-15 20:23:23 -07:00
2017-09-03 11:04:21 -07:00
2017-07-04 22:35:16 +01:00
2017-07-04 22:35:15 +01:00
2017-09-06 15:22:02 +02:00
2017-06-07 15:53:24 -04:00
2017-08-09 16:57:38 -07:00
2017-09-05 09:11:45 -07:00
2017-09-18 17:35:32 +02:00
2017-04-13 13:58:22 -04:00
2017-09-06 21:22:54 -07:00
2017-07-04 22:35:17 +01:00
2017-06-23 00:38:31 +02:00
2017-08-29 15:16:52 -07:00
2017-09-12 20:37:31 -07:00
2017-09-20 13:57:19 -07:00
2017-08-09 16:57:38 -07:00
2017-06-16 11:48:39 -04:00
2017-08-09 16:57:38 -07:00
2017-09-07 20:07:13 -07:00
2017-06-13 11:07:51 +02:00
2017-03-09 18:23:27 -08:00
2017-09-05 14:39:17 -07:00
2017-09-21 15:13:52 -07:00
2017-09-15 14:51:15 -07:00
2017-09-21 15:31:03 -07:00
2017-08-24 21:57:50 -07:00
2017-09-11 22:01:44 -07:00
2017-08-07 14:48:48 -07:00
2017-09-06 21:25:52 -07:00
2017-09-14 09:55:21 -07:00
2017-08-21 17:06:42 -07:00
2017-08-28 15:38:18 -07:00
2016-10-27 16:16:09 -04:00
2017-09-18 22:51:07 +02:00
2017-08-03 09:13:51 -07:00
2017-09-01 17:42:05 -07:00
2017-09-20 15:36:18 -07:00
2017-09-04 13:25:20 +02:00
2017-08-29 15:16:52 -07:00
2017-08-16 11:27:52 -07:00
2017-04-16 23:42:49 -05:00