projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5e7ad4
)
net: Really remove all of LOOPBACK_TSO code.
author
David S. Miller
<
[email protected]
>
Fri, 31 Oct 2008 07:00:33 +0000
(
00:00
-0700)
committer
David S. Miller
<
[email protected]
>
Fri, 31 Oct 2008 07:00:33 +0000
(
00:00
-0700)
As noticed by Saikiran Madugula, commit
7447ef63cf2dfdc444f4c72ae13f604350b2e25f
("loopback: Remove rest of LOOPBACK_TSO code.") got rid of
emulate_large_send_offload() but didn't get rid of the call
site as well.
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/loopback.c
patch
|
blob
|
history
diff --git
a/drivers/net/loopback.c
b/drivers/net/loopback.c
index 3b43bfd85a0f6dd3e1506d8a5a29e4ae85f3429e..b1ac63ab8c16052abd00affc855e4971f0417066 100644
(file)
--- a/
drivers/net/loopback.c
+++ b/
drivers/net/loopback.c
@@
-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 */