[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW6FOKjAzjqfnddJKMxcH2VQKXqLdoxzBQ558UK8fiCrXA@mail.gmail.com>
Date: Fri, 3 Jan 2020 11:27:15 -0800
From: Song Liu <liu.song.a23@...il.com>
To: Li RongQing <lirongqing@...du.com>
Cc: Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH][bpf-next] bpf: return EOPNOTSUPP when invalid map type in __bpf_tx_xdp_map
On Thu, Jan 2, 2020 at 10:26 PM Li RongQing <lirongqing@...du.com> wrote:
>
> a negative value -EOPNOTSUPP should be returned if map->map_type
> is invalid although that seems unlikely now, then the caller will
> continue to handle buffer, or else the buffer will be leaked
>
> Signed-off-by: Li RongQing <lirongqing@...du.com>
Acked-by: Song Liu <songliubraving@...com>
Powered by blists - more mailing lists