diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-09-02 09:52:48 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-03 20:43:42 +0200 |
| commit | 76de6f5119972e51504929df63f44f50444ee445 (patch) | |
| tree | 24674031eeda5dfdb931d75e881888dc008ee492 /test | |
| parent | 42a108b99d89d1507a62dacd8f5b993e0062d3a3 (diff) | |
| download | passt-76de6f5119972e51504929df63f44f50444ee445.tar passt-76de6f5119972e51504929df63f44f50444ee445.tar.gz passt-76de6f5119972e51504929df63f44f50444ee445.tar.bz2 passt-76de6f5119972e51504929df63f44f50444ee445.tar.lz passt-76de6f5119972e51504929df63f44f50444ee445.tar.xz passt-76de6f5119972e51504929df63f44f50444ee445.tar.zst passt-76de6f5119972e51504929df63f44f50444ee445.zip | |
icmp: use iov_tail rather than pool
This patch refactors the icmp_tap_handler() function to accept
`struct iov_tail *data` directly as its packet input, replacing the
`const struct pool *p` parameter.
This change simplifies callers, such as tap4_handler(), which now pass
the iov_tail representing the L4 ICMP message directly.
This removes the need for intermediate packet pool handling.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
