Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udp: properly flush normal packet at GRO time
If an UDP packet enters the GRO engine but is not eligible for aggregation and is not targeting an UDP tunnel, udp_gro_receive() will not set the flush bit, and packet could delayed till the next napi flush. Fix the issue ensuring non GROed packets traverse skb_gro_flush_final(). Reported-and-tested-by: Matthias Treydte <[email protected]> Fixes: 18f25dc ("udp: skip L4 aggregation for UDP tunnel packets") Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information