Skip to content

Commit 920a0fd

Browse files
ogerlitzdavem330
authored andcommitted
net/vxlan: Go over all candidate streams for GRO matching
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]>
1 parent b5aaab1 commit 920a0fd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/vxlan.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,8 @@ static struct sk_buff **vxlan_gro_receive(struct sk_buff **head, struct sk_buff
596596
NAPI_GRO_CB(p)->same_flow = 0;
597597
continue;
598598
}
599-
goto found;
600599
}
601600

602-
found:
603601
type = eh->h_proto;
604602

605603
rcu_read_lock();

0 commit comments

Comments
 (0)