Without this patch the following pipeline would send packets containing garbage in the data section. $ gst-launch-1.0 avtpsrc ! avtpsink Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1077>
Without this patch in case of a retry recv() will be called with a negative size argument. Signed-off-by: Timo Wischer <timo.wischer@de.bosch.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1078>