[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <27989444-8f60-c543-f9d9-94f9f610a4a7@iogearbox.net>
Date: Wed, 15 Apr 2020 14:34:31 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Toke Høiland-Jørgensen <toke@...hat.com>,
ast@...com
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
David Ahern <dsahern@...il.com>
Subject: Re: [PATCH bpf 1/2] libbpf: Fix type of old_fd in
bpf_xdp_set_link_opts
On 4/14/20 4:50 PM, Toke Høiland-Jørgensen wrote:
> The 'old_fd' parameter used for atomic replacement of XDP programs is
> supposed to be an FD, but was left as a u32 from an earlier iteration of
> the patch that added it. It was converted to an int when read, so things
> worked correctly even with negative values, but better change the
> definition to correctly reflect the intention.
>
> Fixes: bd5ca3ef93cd ("libbpf: Add function to set link XDP fd while specifying old program")
> Reported-by: David Ahern <dsahern@...il.com>
> Signed-off-by: Toke Høiland-Jørgensen <toke@...hat.com>
Both applied, thanks!
Powered by blists - more mailing lists