Re: [PATCH net] openvswitch: fix error return code in validate_and_copy_dec_ttl()

From: Jakub Kicinski
Date: Fri Dec 04 2020 - 18:45:35 EST


On Fri, 04 Dec 2020 13:07:48 +0100 Eelco Chaudron wrote:
> > Fix to return a negative error code from the error handling
> > case instead of 0, as done elsewhere in this function.
> >
> > Changing 'return start' to 'return action_start' can fix this bug.
> >
> > Fixes: 69929d4c49e1 ("net: openvswitch: fix TTL decrement action
> > netlink message format")
> > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> > Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
>
> Thanks for fixing!
>
> Reviewed-by: Eelco Chaudron <echaudro@xxxxxxxxxx>

Applied, thanks!