Summary: | udp_sock_init() does not fill correctly udp_tap_map since commit bb9bf0bb8f57 | ||
---|---|---|---|
Product: | passt | Reporter: | Laurent Jacquot <jk> |
Component: | UDP | Assignee: | David Gibson <dgibson> |
Status: | RESOLVED FIXED | ||
Severity: | quite bad | CC: | dgibson, sbrivio |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux |
Description
Laurent Jacquot
2024-04-22 20:34:38 UTC
Laurent, Thanks for the report. I've reproduced the problem and tracked it down. It's not actually that we don't do the port translation when we get the UDP packets - those were getting through. It's that we don't correctly apply the reverse translation to the source port of reply packets. I have a draft fix here: https://gitlab.com/dgibson/passt/-/tree/bug87?ref_type=heads Assuming it works for you, I'll submit it for merge. Hello I confirm it works for me Thanks, I've posted the patch for inclusion. Fix is now applied to main branch. |