ipv6: fix IPV6_PKTINFO with v4 mapped
authorEric Dumazet <edumazet@google.com>
Tue, 11 Nov 2014 01:54:25 +0000 (17:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2014 20:32:45 +0000 (15:32 -0500)
Use IS_ENABLED(CONFIG_IPV6), to enable this code if IPv6 is
a module.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: c8e6ad0829a7 ("ipv6: honor IPV6_PKTINFO with v4 mapped addresses on sendmsg")
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c

Simple merge