2026-01-30, 18:32:50 +0100, Ralf Lici wrote:
> In ovpn_net_xmit, after GSO segmentation and segment processing, the
> first segment on the list is used to increment VPN TX statistics, which
> fails to account for any subsequent segments in the chain.
>
> Fix this by accumulating the length of every segment that successfully
> passes skb_share_check into a tx_bytes variable. This ensures the peer
> statistics accurately reflect the total data volume sent, regardless of
> whether the original packet was segmented.
>
> Fixes: 04ca14955f9a ("ovpn: store tunnel and transport statistics")
> Signed-off-by: Ralf Lici <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
--
Sabrina
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel