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:
b5aaab1
)
net/vxlan: Go over all candidate streams for GRO matching
author
Or Gerlitz
<
[email protected]
>
Wed, 29 Jan 2014 16:10:10 +0000
(18:10 +0200)
committer
David S. Miller
<
[email protected]
>
Fri, 31 Jan 2014 00:25:49 +0000
(16:25 -0800)
The loop in vxlan_gro_receive() over the current set of candidates for
coalescing was wrongly aborted once a match was found. In rare cases,
this can cause a false-positives matching in the next layer GRO checks.
Signed-off-by: Or Gerlitz <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/vxlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index 026a313c2d2da4c3eb57d0c5f6a051bbbdc852b2..3d6cd1c52e955ac971e7949be501a668954f59eb 100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-596,10
+596,8
@@
static struct sk_buff **vxlan_gro_receive(struct sk_buff **head, struct sk_buff
NAPI_GRO_CB(p)->same_flow = 0;
continue;
}
- goto found;
}
-found:
type = eh->h_proto;
rcu_read_lock();