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: b9470c27607b ("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-09-08 18:55:27 +02:00
2017-08-28 15:17:29 -07:00
2017-06-23 14:17:31 -04:00
2017-08-29 16:10:50 -07:00
2017-08-01 15:31:23 -07:00
2017-08-09 16:57:38 -07:00
2017-09-01 17:42:05 -07:00
2017-09-01 17:42:05 -07:00
2017-08-09 16:57:38 -07:00
2017-08-23 20:37:10 -07:00
2017-09-01 20:33:42 -07:00
2017-08-03 15:35:59 -07:00
2017-08-23 20:37:10 -07:00
2017-08-23 20:37:10 -07:00
2017-08-01 16:09:14 -07:00
2017-07-17 09:52:58 -07:00
2017-08-06 20:51:12 -07:00
2017-08-21 17:06:42 -07:00
2017-09-22 20:33:17 -07:00
2017-09-01 18:38:09 -07:00
2017-09-03 11:01:05 -07:00
2017-08-07 11:39:21 -07:00
2017-07-01 07:39:08 -07:00
2017-09-01 17:33:17 -07:00
2017-09-03 11:01:05 -07:00
2017-08-28 15:04:52 -07:00
2017-08-06 20:51:12 -07:00
2017-08-22 14:27:18 -07:00
2017-09-15 14:27:51 -07:00
2017-06-25 11:42:01 -04:00
2017-09-12 20:45:31 -07:00
2017-07-18 11:13:41 -07:00
2017-06-16 11:48:35 -04:00
2017-06-26 23:13:22 -04:00
2017-08-09 16:57:38 -07:00
2017-06-15 12:12:40 -04:00
2017-07-01 07:39:08 -07:00
2017-08-30 11:20:09 -07:00
2017-08-07 11:39:22 -07:00
2017-08-07 11:39:22 -07:00
2017-08-21 17:06:42 -07:00
2017-08-06 20:51:12 -07:00
2017-07-31 14:37:49 -07:00
2017-07-15 14:43:29 -07:00
2017-08-06 21:25:10 -07:00
2017-08-06 21:25:10 -07:00
2017-09-01 17:42:05 -07:00
2017-08-06 21:25:10 -07:00
2017-09-01 18:38:09 -07:00
2017-08-22 14:16:12 -07:00
2017-08-06 21:25:10 -07:00
2017-08-06 21:25:10 -07:00
2017-08-06 21:25:10 -07:00
2017-08-30 11:20:09 -07:00
2017-09-08 16:07:17 -07:00
2017-08-30 11:20:09 -07:00
2017-08-06 21:25:10 -07:00
2017-07-01 07:39:08 -07:00
2017-09-19 16:16:51 -07:00
2017-07-24 17:28:12 -07:00
2017-06-15 12:12:40 -04:00
2017-07-19 16:14:10 -07:00
2017-08-06 21:25:10 -07:00
2017-08-09 16:28:45 -07:00
2017-08-14 22:17:05 -07:00
2017-08-06 21:25:10 -07:00
2017-08-30 11:20:08 -07:00
2017-08-06 21:25:10 -07:00
2017-09-01 20:22:03 -07:00
2017-08-07 11:39:22 -07:00
2017-08-08 21:39:01 -07:00
2017-07-24 13:52:59 -07:00
2017-09-07 20:02:39 -07:00
2017-06-16 11:48:39 -04:00
2017-08-11 07:03:00 +02:00