From: Hannes Frederic Sowa Date: Tue, 18 Feb 2014 20:38:08 +0000 (+0100) Subject: ipv6: honor IPV6_PKTINFO with v4 mapped addresses on sendmsg X-Git-Tag: v3.15-rc1~113^2~297 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e6ad0829a723a74cd2fea9996a3392d2579a18;p=pandora-kernel.git ipv6: honor IPV6_PKTINFO with v4 mapped addresses on sendmsg In case we decide in udp6_sendmsg to send the packet down the ipv4 udp_sendmsg path because the destination is either of family AF_INET or the destination is an ipv4 mapped ipv6 address, we don't honor the maybe specified ipv4 mapped ipv6 address in IPV6_PKTINFO. We simply can check for this option in ip_cmsg_send because no calls to ipv6 module functions are needed to do so. Reported-by: Gert Doering Cc: Tore Anderson Signed-off-by: Hannes Frederic Sowa Signed-off-by: David S. Miller --- Reading git-diff-tree failed