]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/bridge/br_forward.c
[NET] gso: Add skb_is_gso
[karo-tx-linux.git] / net / bridge / br_forward.c
index 8be9f2123e54234f2c7ec1a1904d4e66abde715b..6ccd32b308091dcd443f6ff00ab0aea2ad456e21 100644 (file)
@@ -35,7 +35,7 @@ static inline unsigned packet_length(const struct sk_buff *skb)
 int br_dev_queue_push_xmit(struct sk_buff *skb)
 {
        /* drop mtu oversized packets except gso */
-       if (packet_length(skb) > skb->dev->mtu && !skb_shinfo(skb)->gso_size)
+       if (packet_length(skb) > skb->dev->mtu && !skb_is_gso(skb))
                kfree_skb(skb);
        else {
 #ifdef CONFIG_BRIDGE_NETFILTER