From: Vlad Drukker Date: Fri, 23 Sep 2005 06:35:34 +0000 (-0700) Subject: [BRIDGE]: TSO fix in br_dev_queue_push_xmit X-Git-Tag: v2.6.14-rc3~51^2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2a7bc3c94cbca32d3d6e03e7d5a71662f591d28a;p=linux-2.6-omap-h63xx.git [BRIDGE]: TSO fix in br_dev_queue_push_xmit Signed-off-by: Vlad Drukker Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c index 069253f830c..2d24fb400e0 100644 --- a/net/bridge/br_forward.c +++ b/net/bridge/br_forward.c @@ -31,7 +31,8 @@ static inline int should_deliver(const struct net_bridge_port *p, int br_dev_queue_push_xmit(struct sk_buff *skb) { - if (skb->len > skb->dev->mtu) + /* drop mtu oversized packets except tso */ + if (skb->len > skb->dev->mtu && !skb_shinfo(skb)->tso_size) kfree_skb(skb); else { #ifdef CONFIG_BRIDGE_NETFILTER