Jonathan T. Leighton 052d2369d1 ipv6: Handle IPv4-mapped src to in6addr_any dst.
This patch adds a check on the type of the source address for the case
where the destination address is in6addr_any. If the source is an
IPv4-mapped IPv6 source address, the destination is changed to
::ffff:127.0.0.1, and otherwise the destination is changed to ::1. This
is done in three locations to handle UDP calls to either connect() or
sendmsg() and TCP calls to connect(). Note that udpv6_sendmsg() delays
handling an in6addr_any destination until very late, so the patch only
needs to handle the case where the source is an IPv4-mapped IPv6
address.

Signed-off-by: Jonathan T. Leighton <jtleight@udel.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-14 12:13:51 -05:00
..
2017-02-07 11:19:00 -05:00
2016-12-03 23:54:25 -05:00
2017-02-13 22:15:03 -05:00
2016-12-25 17:21:22 +01:00
2017-02-10 15:57:34 -05:00
2016-10-20 11:23:08 -04:00
2016-12-20 14:22:49 -05:00
2016-12-25 17:21:22 +01:00
2016-08-17 19:36:23 -04:00