net: Make IPv6 build depend on CONFIG_INET
authorVlad Yasevich <vyasevic@redhat.com>
Thu, 15 Nov 2012 16:34:57 +0000 (16:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Nov 2012 03:48:32 +0000 (22:48 -0500)
commit751a97d79950bf82e83f57f6e16d96418a2789f8
tree8dba4cca1e6350f8c226f99b9de4c46e393af263
parent7213dde6c961230d1e4c80fa20df842af573cd9d
net: Make IPv6 build depend on CONFIG_INET

IPv6 build selection currently controlled by CONFIG_NET, so it is
possible to build IPv6 functinality without selectiona any TCP/IP
features (CONFIG_INET).  Make IPv6 be consistent with IPv4.

This should resolve the following issue:

net/built-in.o: In function `tcp6_gro_complete':
tcpv6_offload.c:(.text+0x3d045): undefined reference to
`tcp_gro_complete'
net/built-in.o: In function `tcp6_gro_receive':
tcpv6_offload.c:(.text+0x3d19b): undefined reference to
`tcp_gro_receive'
net/built-in.o: In function `ipv6_exthdrs_offload_init':
(.init.text+0x118b): undefined reference to `inet_del_offload'
net/built-in.o:(.rodata+0x1c58): undefined reference to
`tcp_tso_segment'

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