ipv6: Preserve ipv6 functionality needed by NET
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 16 Nov 2012 09:41:21 +0000 (09:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2012 07:34:00 +0000 (02:34 -0500)
Some pieces of network use core pieces of IPv6 stack.  Keep
them available while letting new GSO offload pieces depend
on CONFIG_INET.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/Makefile
net/ipv6/Makefile

index e050d9d205e7e337b86da4ef69a777c9b273b78c..4f4ee083064c8c487750527df0755c7ad33ac436 100644 (file)
@@ -19,7 +19,7 @@ obj-$(CONFIG_NETFILTER)               += netfilter/
 obj-$(CONFIG_INET)             += ipv4/
 obj-$(CONFIG_XFRM)             += xfrm/
 obj-$(CONFIG_UNIX)             += unix/
-obj-$(CONFIG_INET)             += ipv6/
+obj-$(CONFIG_NET)              += ipv6/
 obj-$(CONFIG_PACKET)           += packet/
 obj-$(CONFIG_NET_KEY)          += key/
 obj-$(CONFIG_BRIDGE)           += bridge/
index 04a475df98addaabe019db22609e56f960debcc5..2068ac4fbdad43346a1e7d460e8fc20549de0f44 100644 (file)
@@ -40,7 +40,7 @@ obj-$(CONFIG_IPV6_SIT) += sit.o
 obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o
 obj-$(CONFIG_IPV6_GRE) += ip6_gre.o
 
-obj-y += addrconf_core.o exthdrs_core.o output_core.o protocol.o
-obj-y += $(ipv6-offload)
+obj-y += addrconf_core.o exthdrs_core.o
+obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6_offload)
 
 obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o