Fix the return statement of ovpn_udp_output by stating that the skb is consumed only on success, not unconditionally.
Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260921102215.3599702-1-antonio%40openvpn.net?part=3 Signed-off-by: Ralf Lici <[email protected]> --- drivers/net/ovpn/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ovpn/udp.c b/drivers/net/ovpn/udp.c index 055cdb1bee13..422c1f6e0c76 100644 --- a/drivers/net/ovpn/udp.c +++ b/drivers/net/ovpn/udp.c @@ -407,7 +407,7 @@ static int ovpn_udp6_output(struct ovpn_peer *peer, struct ovpn_bind *bind, * @key: route key snapshot used for cache validation and flow lookup * * rcu_read_lock should be held on entry. - * On return, the skb is consumed. + * On success, the skb is consumed. * * Return: 0 on success or a negative error code otherwise */ -- 2.56.0 _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
