diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 2 | ||||
-rw-r--r-- | drivers/net/tg3.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index cead81e80f0c..ef63c8d2bd7e 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2437,7 +2437,7 @@ static int myri10ge_sw_tso(struct sk_buff *skb, struct net_device *dev) | |||
2437 | int status; | 2437 | int status; |
2438 | 2438 | ||
2439 | segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6); | 2439 | segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6); |
2440 | if (unlikely(IS_ERR(segs))) | 2440 | if (IS_ERR(segs)) |
2441 | goto drop; | 2441 | goto drop; |
2442 | 2442 | ||
2443 | while (segs) { | 2443 | while (segs) { |
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index e3f74c9f78bd..b66c75e3b8a1 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -4361,7 +4361,7 @@ static int tg3_tso_bug(struct tg3 *tp, struct sk_buff *skb) | |||
4361 | } | 4361 | } |
4362 | 4362 | ||
4363 | segs = skb_gso_segment(skb, tp->dev->features & ~NETIF_F_TSO); | 4363 | segs = skb_gso_segment(skb, tp->dev->features & ~NETIF_F_TSO); |
4364 | if (unlikely(IS_ERR(segs))) | 4364 | if (IS_ERR(segs)) |
4365 | goto tg3_tso_bug_end; | 4365 | goto tg3_tso_bug_end; |
4366 | 4366 | ||
4367 | do { | 4367 | do { |