diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2012-11-16 04:41:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-18 02:34:00 -0500 |
commit | 75fe83c32248d99e6d5fe64155e519b78bb90481 (patch) | |
tree | c001b2286fcbc15c9683d6f6b8f74091380b7afc | |
parent | 6d973cb163aede0b4a414abfda42d1bc35bfd7f9 (diff) |
ipv6: Preserve ipv6 functionality needed by NET
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>
-rw-r--r-- | net/Makefile | 2 | ||||
-rw-r--r-- | net/ipv6/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/Makefile b/net/Makefile index e050d9d205e7..4f4ee083064c 100644 --- a/net/Makefile +++ b/net/Makefile | |||
@@ -19,7 +19,7 @@ obj-$(CONFIG_NETFILTER) += netfilter/ | |||
19 | obj-$(CONFIG_INET) += ipv4/ | 19 | obj-$(CONFIG_INET) += ipv4/ |
20 | obj-$(CONFIG_XFRM) += xfrm/ | 20 | obj-$(CONFIG_XFRM) += xfrm/ |
21 | obj-$(CONFIG_UNIX) += unix/ | 21 | obj-$(CONFIG_UNIX) += unix/ |
22 | obj-$(CONFIG_INET) += ipv6/ | 22 | obj-$(CONFIG_NET) += ipv6/ |
23 | obj-$(CONFIG_PACKET) += packet/ | 23 | obj-$(CONFIG_PACKET) += packet/ |
24 | obj-$(CONFIG_NET_KEY) += key/ | 24 | obj-$(CONFIG_NET_KEY) += key/ |
25 | obj-$(CONFIG_BRIDGE) += bridge/ | 25 | obj-$(CONFIG_BRIDGE) += bridge/ |
diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile index 04a475df98ad..2068ac4fbdad 100644 --- a/net/ipv6/Makefile +++ b/net/ipv6/Makefile | |||
@@ -40,7 +40,7 @@ obj-$(CONFIG_IPV6_SIT) += sit.o | |||
40 | obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o | 40 | obj-$(CONFIG_IPV6_TUNNEL) += ip6_tunnel.o |
41 | obj-$(CONFIG_IPV6_GRE) += ip6_gre.o | 41 | obj-$(CONFIG_IPV6_GRE) += ip6_gre.o |
42 | 42 | ||
43 | obj-y += addrconf_core.o exthdrs_core.o output_core.o protocol.o | 43 | obj-y += addrconf_core.o exthdrs_core.o |
44 | obj-y += $(ipv6-offload) | 44 | obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6_offload) |
45 | 45 | ||
46 | obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o | 46 | obj-$(subst m,y,$(CONFIG_IPV6)) += inet6_hashtables.o |