diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-03-26 14:44:04 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-26 21:34:28 +0100 |
| commit | 269cf6a12a5f89683daa8da9232cc2524d7a4ae2 (patch) | |
| tree | 25e99ef65c277968c526588ef5cb00ec498f0b4c /contrib/qemu | |
| parent | d924b7dfc40cfaf9ebc64fe052efd8b0c45c6478 (diff) | |
| download | passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.tar passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.tar.gz passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.tar.bz2 passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.tar.lz passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.tar.xz passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.tar.zst passt-269cf6a12a5f89683daa8da9232cc2524d7a4ae2.zip | |
udp: Share more logic between vu and non-vu reply socket paths
Share some additional miscellaneous logic between the vhost-user and "buf"
paths for data on udp reply sockets. The biggest piece is error handling
of cases where we can't forward between the two pifs of the flow. We also
make common some more simple logic locating the correct flow and its
parameters.
This adds some lines of code due to extra comment lines, but nonetheless
reduces logic duplication.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu')
0 files changed, 0 insertions, 0 deletions
