Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118342
b: refs/heads/master
c: 3a8af72
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Oct 31, 2008
1 parent 126a1ff commit 8d9d500
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5e7ad44d05d3f8227a10a17761505fce2c08e38
refs/heads/master: 3a8af722495469e9c550386b910c5b93c91cf107
9 changes: 0 additions & 9 deletions trunk/drivers/net/loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@ static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)

skb->protocol = eth_type_trans(skb,dev);

#ifdef LOOPBACK_TSO
if (skb_is_gso(skb)) {
BUG_ON(skb->protocol != htons(ETH_P_IP));
BUG_ON(ip_hdr(skb)->protocol != IPPROTO_TCP);

emulate_large_send_offload(skb);
return 0;
}
#endif
dev->last_rx = jiffies;

/* it's OK to use per_cpu_ptr() because BHs are off */
Expand Down

0 comments on commit 8d9d500

Please sign in to comment.