net: veth: Set features for MPLS
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 25 Aug 2016 03:10:45 +0000 (20:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Aug 2016 05:27:18 +0000 (22:27 -0700)
commit607fca9acfb62a9caf7bd46771ecbc4d8fec7388
treebfa1f1a6174f542d98eba376a54cdd8f568f4f09
parent48d2ab609b6bbecb7698487c8579bc40de9d6dfa
net: veth: Set features for MPLS

veth does not really transmit packets only moves the skb from one
netdev to another so gso and checksum is not really needed. Add
the features to mpls_features to get the same benefit and performance
with MPLS as without it.

Reported-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c