提交 de11b0e8 编写于 作者: B Ben Hutchings 提交者: David S. Miller

drivers/net: macvtap and tun depend on INET

These drivers now call ipv6_proxy_select_ident(), which is defined
only if CONFIG_INET is enabled.  However, they have really depended
on CONFIG_INET for as long as they have allowed sending GSO packets
from userland.
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
Fixes: f43798c2 ("tun: Allow GSO using virtio_net_hdr")
Fixes: b9fb9ee0 ("macvtap: add GSO/csum offload support")
Fixes: 5188cd44 ("drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets")
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c1304b21
...@@ -135,6 +135,7 @@ config MACVLAN ...@@ -135,6 +135,7 @@ config MACVLAN
config MACVTAP config MACVTAP
tristate "MAC-VLAN based tap driver" tristate "MAC-VLAN based tap driver"
depends on MACVLAN depends on MACVLAN
depends on INET
help help
This adds a specialized tap character device driver that is based This adds a specialized tap character device driver that is based
on the MAC-VLAN network interface, called macvtap. A macvtap device on the MAC-VLAN network interface, called macvtap. A macvtap device
...@@ -200,6 +201,7 @@ config RIONET_RX_SIZE ...@@ -200,6 +201,7 @@ config RIONET_RX_SIZE
config TUN config TUN
tristate "Universal TUN/TAP device driver support" tristate "Universal TUN/TAP device driver support"
depends on INET
select CRC32 select CRC32
---help--- ---help---
TUN/TAP provides packet reception and transmission for user space TUN/TAP provides packet reception and transmission for user space
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册