RE: [PATCH bpf-next] bpf, sockmap: Rename sock_map_get_from_fd to sock_map_prog_attach

From: John Fastabend
Date: Wed Aug 30 2023 - 22:09:16 EST


Xu Kuohai wrote:
> From: Xu Kuohai <xukuohai@xxxxxxxxxx>
>
> What function sock_map_get_from_fd does is to attach a bpf prog to
> a sock map, so rename it to sock_map_prog_attach to make it more
> readable.
>
> Signed-off-by: Xu Kuohai <xukuohai@xxxxxxxxxx>
> ---

I don't really think the rename is needed. It will just make any
backports difficult.