On Mon, Jan 20, 2025 at 02:15:22PM +0100, Laurent
Vivier wrote:
Replace ASSERT() on the number of iovec in the
element and on
the first entry length by a debug() message.
Signed-off-by: Laurent Vivier <lvivier(a)redhat.com>
Removing the ASSERT() makes sense, but is it safe to carry on to the
tap_add_packet() if the packet is not in the layout we expect?
Safe for us and for TCP yes, but it's bad to mangle UDP packets like
that.
Should we be bailing out of the function (effectively
dropping the packet)
instead?
I even proposed that in: