netd…@kernel.org writes:
> [Severity: High] > Does the sign of this decrement match what idpf expects?
It doesn't, but that is older than this patch. libeth counts XDP_TX completions down and idpf subtracts the result, so xdp_tx grows on both send and completion, with or without this series. This patch only stops libeth from reading the count from shared info that may change before the bulk flush, and keeps the sign libeth already uses for XDP_TX and XDP_XMIT. Flipping the sign alone isn't safe either. For XDP_TX and XDP_XMIT the completion subtracts all frags of a frame, while the send side adds only the descriptors it posted, so the count has to become exact as well. That is a separate fix. Olek, would you like to take it? Björn