projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dcfd40
)
datapath: Don't drop oversize GSO frames, since GSO will break them up.
author
Ben Pfaff
<blp@nicira.com>
Fri, 9 Jan 2009 19:46:06 +0000
(11:46 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 9 Jan 2009 19:46:06 +0000
(11:46 -0800)
Fixes TCP performance problems on Xen.
All credit to Justin for diagnosis.
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index c3a107e0598da8148321939501a332646fa30d9c..a6c54c906f0dad002dc33059af51cc86205415c3 100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-659,7
+659,7
@@
int
dp_xmit_skb(struct sk_buff *skb)
{
int len = skb->len;
- if (packet_length(skb) > skb->dev->mtu) {
+ if (packet_length(skb) > skb->dev->mtu
&& !skb_is_gso(skb)
) {
printk("dropped over-mtu packet: %d > %d\n",
packet_length(skb), skb->dev->mtu);
kfree_skb(skb);