Skip to content

Commit 2ea6d8c

Browse files
Thomas Grafdavem330
authored andcommitted
net: Enter net/ipv6/ even if CONFIG_IPV6=n
exthdrs_core.c and addrconf_core.c in net/ipv6/ contain bits which must be made available even if IPv6 is disabled. net/ipv6/Makefile already correctly includes them if CONFIG_IPV6=n but net/Makefile prevents entering the subdirectory. Signed-off-by: Thomas Graf <tgraf@infradead.org> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f277e65 commit 2ea6d8c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎net/Makefile‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ obj-$(CONFIG_NETFILTER) += netfilter/
1919
obj-$(CONFIG_INET) += ipv4/
2020
obj-$(CONFIG_XFRM) += xfrm/
2121
obj-$(CONFIG_UNIX) += unix/
22-
ifneq ($(CONFIG_IPV6),)
23-
obj-y += ipv6/
24-
endif
22+
obj-$(CONFIG_NET) += ipv6/
2523
obj-$(CONFIG_PACKET) += packet/
2624
obj-$(CONFIG_NET_KEY) += key/
2725
obj-$(CONFIG_BRIDGE) += bridge/

0 commit comments

Comments
 (0)