[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <afd146bd-2a6a-14ce-8ea2-8f928960736d@iogearbox.net>
Date: Mon, 17 Jun 2019 23:20:49 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Anton Protopopov <a.s.protopopov@...il.com>,
Alexei Starovoitov <ast@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
bpf@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf] bpf: fix the check that forwarding is enabled in
bpf_ipv6_fib_lookup
On 06/16/2019 12:53 AM, Anton Protopopov wrote:
> The bpf_ipv6_fib_lookup function should return BPF_FIB_LKUP_RET_FWD_DISABLED
> when forwarding is disabled for the input device. However instead of checking
> if forwarding is enabled on the input device, it checked the global
> net->ipv6.devconf_all->forwarding flag. Change it to behave as expected.
>
> Signed-off-by: Anton Protopopov <a.s.protopopov@...il.com>
Applied, thanks!
Powered by blists - more mailing lists