projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tpm/st33zp24/spi: Remove nbr_dummy_bytes variable usage
[deliverable/linux.git]
/
net
/
mpls
/
mpls_gso.c
diff --git
a/net/mpls/mpls_gso.c
b/net/mpls/mpls_gso.c
index bbcf60465e5c439a51b7ef72dcd0d4ddca244ea7..2055e57ed1c3a32297f521e35e0cd078562e8bbe 100644
(file)
--- a/
net/mpls/mpls_gso.c
+++ b/
net/mpls/mpls_gso.c
@@
-26,15
+26,6
@@
static struct sk_buff *mpls_gso_segment(struct sk_buff *skb,
netdev_features_t mpls_features;
__be16 mpls_protocol;
netdev_features_t mpls_features;
__be16 mpls_protocol;
- if (unlikely(skb_shinfo(skb)->gso_type &
- ~(SKB_GSO_TCPV4 |
- SKB_GSO_TCPV6 |
- SKB_GSO_UDP |
- SKB_GSO_DODGY |
- SKB_GSO_TCP_FIXEDID |
- SKB_GSO_TCP_ECN)))
- goto out;
-
/* Setup inner SKB. */
mpls_protocol = skb->protocol;
skb->protocol = skb->inner_protocol;
/* Setup inner SKB. */
mpls_protocol = skb->protocol;
skb->protocol = skb->inner_protocol;
@@
-57,7
+48,7
@@
static struct sk_buff *mpls_gso_segment(struct sk_buff *skb,
* skb_mac_gso_segment(), an indirect caller of this function.
*/
__skb_pull(skb, skb->data - skb_mac_header(skb));
* skb_mac_gso_segment(), an indirect caller of this function.
*/
__skb_pull(skb, skb->data - skb_mac_header(skb));
-out:
+
return segs;
}
return segs;
}
This page took
0.024925 seconds
and
5
git commands to generate.