summaryrefslogtreecommitdiffstats
path: root/net/mpls
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-11-05 15:27:48 -0800
committerPravin B Shelar <pshelar@nicira.com>2014-11-05 23:52:33 -0800
commit59b93b41e7fa71138734a911b11b044340dd16bd (patch)
tree7d5680f8c3eba5ce40a04b6115b41550c9d140f5 /net/mpls
parente1b2cb655060e081e73b384b1fc8b2e978f73467 (diff)
downloadop-kernel-dev-59b93b41e7fa71138734a911b11b044340dd16bd.zip
op-kernel-dev-59b93b41e7fa71138734a911b11b044340dd16bd.tar.gz
net: Remove MPLS GSO feature.
Device can export MPLS GSO support in dev->mpls_features same way it export vlan features in dev->vlan_features. So it is safe to remove NETIF_F_GSO_MPLS redundant flag. Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'net/mpls')
-rw-r--r--net/mpls/mpls_gso.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mpls/mpls_gso.c b/net/mpls/mpls_gso.c
index e3545f2..ca27837 100644
--- a/net/mpls/mpls_gso.c
+++ b/net/mpls/mpls_gso.c
@@ -34,8 +34,7 @@ static struct sk_buff *mpls_gso_segment(struct sk_buff *skb,
SKB_GSO_TCP_ECN |
SKB_GSO_GRE |
SKB_GSO_GRE_CSUM |
- SKB_GSO_IPIP |
- SKB_GSO_MPLS)))
+ SKB_GSO_IPIP)))
goto out;
/* Setup inner SKB. */
OpenPOWER on IntegriCloud