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-12-03 23:54:25 -05:00
2016-12-17 11:56:57 -05:00
2016-05-29 22:33:25 -07:00
2016-11-14 13:17:21 -05:00
2016-10-20 11:23:08 -04:00
2016-12-10 17:25:58 -05:00
2016-12-20 14:22:49 -05:00
2016-12-17 11:56:57 -05:00
2016-06-09 23:41:03 -07:00
2016-08-17 19:36:23 -04:00