[ovs-dev] [PATCH net v2] net: openvswitch: fix TTL decrement exception action execution

Jakub Kicinski kuba at kernel.org
Tue Dec 15 02:15:22 UTC 2020


On Mon,  7 Dec 2020 05:08:39 -0500 Eelco Chaudron wrote:
> Currently, the exception actions are not processed correctly as the wrong
> dataset is passed. This change fixes this, including the misleading
> comment.
> 
> In addition, a check was added to make sure we work on an IPv4 packet,
> and not just assume if it's not IPv6 it's IPv4.
> 
> This was all tested using OVS with patch,
> https://patchwork.ozlabs.org/project/openvswitch/list/?series=21639,
> applied and sending packets with a TTL of 1 (and 0), both with IPv4
> and IPv6.
> 
> Fixes: 69929d4c49e1 ("net: openvswitch: fix TTL decrement action netlink message format")
> Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
> ---
> v2: - Undid unnessesary paramerter removal from dec_ttl_exception_handler()
>     - Updated commit message to include testing information.

Applied now, and will send to stable soon-ish.

Thanks!


More information about the dev mailing list