Willem de Bruijn
39b2dd765e
inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets
...
Socket cmsg IP(V6)_RECVORIGDSTADDR checks that port range lies within
the packet. For sockets that have transport headers pulled, transport
offset can be negative. Use signed comparison to avoid overflow.
Fixes: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing")
Reported-by: Nisar Jagabar <njagabar@cloudmark.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-23 12:19:18 -05:00
..
2016-09-19 20:19:34 +02:00
2016-09-23 13:47:44 -04:00
2016-10-20 14:51:10 -04:00
2016-11-18 10:59:15 -05:00
2016-09-10 21:19:10 -07:00
2016-12-17 20:17:04 -08:00
2016-06-18 20:55:34 -07:00
2016-12-06 21:33:19 -05:00
2016-12-16 10:24:44 -08:00
2016-12-10 21:28:28 -05:00
2016-12-06 21:33:19 -05:00
2016-12-07 10:45:57 +01:00
2016-12-14 22:39:08 +01:00
2016-12-17 20:17:04 -08:00
2016-12-03 23:54:25 -05:00
2016-12-03 12:29:53 -05:00
2016-12-17 11:56:57 -05:00
2016-04-11 22:37:37 +01:00
2016-12-03 12:29:53 -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
2016-12-23 12:19:18 -05:00
2016-12-23 12:19:18 -05:00
2016-12-17 11:29:31 -05: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
2016-12-10 23:29:11 -05:00
2016-09-10 23:12:53 -07:00
2016-05-29 22:33:25 -07:00
2016-11-14 13:17:21 -05:00
2016-12-17 20:17:04 -08:00
2016-12-16 00:13:43 +02:00
2016-12-06 21:33:19 -05:00
2016-10-20 11:23:08 -04:00
2016-12-11 10:01:05 -05:00
2016-10-27 16:16:09 -04:00
2016-12-10 17:25:58 -05:00
2016-10-27 16:16:09 -04:00
2016-12-20 14:07:41 -05:00
2016-12-16 10:24:44 -08:00
2016-11-18 10:59:15 -05:00
2016-05-17 14:11:19 -04:00
2016-12-20 14:22:49 -05:00
2016-07-13 11:53:40 -07:00
2016-12-14 16:04:10 -08:00
2016-12-23 11:59:56 -05:00
2016-12-20 14:15:45 -05:00
2016-10-12 01:51:49 -04:00
2016-12-16 10:48:28 -08:00
2016-10-30 12:42:58 -04:00
2016-12-16 10:24:44 -08:00
2016-12-16 10:58:12 -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-17 11:56:57 -05:00
2016-12-12 19:25:04 -08:00
2016-06-09 23:41:03 -07:00
2016-12-02 10:51:49 -05:00
2016-08-17 19:36:23 -04:00
2016-12-10 17:27:07 -05:00
2016-10-06 09:52:23 -07:00