macvtap: Let TUNSETOFFLOAD actually controll offload features.
authorVlad Yasevich <vyasevic@redhat.com>
Tue, 25 Jun 2013 20:04:21 +0000 (16:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:44:56 +0000 (16:44 -0700)
When the user issues TUNSETOFFLOAD ioctl, macvtap does not do
anything other then to verify arguments.  This patch adds
functionality to allow users to actually control offload features.
NETIF_F_GSO and NETIF_F_GRO are always on, but the rest of the
features can be controlled.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
drivers/net/macvtap.c
include/linux/if_macvlan.h

Simple merge
Simple merge
Simple merge