[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter-devel
Subject:    Re: [PATCH nft] exthdr: fix type number saved in udata
From:       Phil Sutter <phil () nwl ! cc>
Date:       2021-11-30 12:27:50
Message-ID: 20211130122750.GO12465 () orbyte ! nwl ! cc
[Download RAW message or body]

On Tue, Nov 30, 2021 at 12:50:53AM +0100, Florian Westphal wrote:
> This should store the index of the protocol template, but
> x[i] - x[0] is always i, so remove the divide.  Also add test case.

This should read '&x[i] - &x[0]'.

> Fixes: 01fbc1574b9e ("exthdr: add parse and build userdata interface")
> Signed-off-by: Florian Westphal <fw@strlen.de>

Acked-by: Phil Sutter <phil@nwl.cc>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic