]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97ec3f108a24d0c42604ecbd917166750513b8ae
tree78be425cd2e3994db2d6420f3042ca06e5bdec9d
parentd034e5c2e898218c62d4122a8aaf307b474ffd5f
ipv6: fix IPV6_PKTINFO with v4 mapped

Use IS_ENABLED(CONFIG_IPV6), to enable this code if IPv6 is
a module.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 21cbcd318cdd ("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