mbox series

[bpf,v2,0/3] AF_XDP small fixes

Message ID 20210303185636.18070-1-maciej.fijalkowski@intel.com (mailing list archive)
Headers show
Series AF_XDP small fixes | expand

Message

Maciej Fijalkowski March 3, 2021, 6:56 p.m. UTC
Hi,

This time three no-brainers, one is a fix that I sent among with
bpf_link for AF_XDP set where John suggested that it should land in bpf
tree.

Other is the missing munmap on xdpsock and some ancient function
declaration removal.

Thanks!
Maciej

v2:
- collect Bjorn's Acks
- change strlen to sizeof in patch 3

Maciej Fijalkowski (3):
  xsk: remove dangling function declaration from header file
  samples: bpf: add missing munmap in xdpsock
  libbpf: clear map_info before each bpf_obj_get_info_by_fd

 include/linux/netdevice.h  | 2 --
 samples/bpf/xdpsock_user.c | 2 ++
 tools/lib/bpf/xsk.c        | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)

Comments

Björn Töpel March 3, 2021, 7:19 p.m. UTC | #1
On 2021-03-03 19:56, Maciej Fijalkowski wrote:
> Hi,
> 
> This time three no-brainers, one is a fix that I sent among with
> bpf_link for AF_XDP set where John suggested that it should land in bpf
> tree.
> 
> Other is the missing munmap on xdpsock and some ancient function
> declaration removal.
>

Thanks Maciej!

For the series:

Acked-by: Björn Töpel <bjorn.topel@intel.com>


> Thanks!
> Maciej
> 
> v2:
> - collect Bjorn's Acks
> - change strlen to sizeof in patch 3
> 
> Maciej Fijalkowski (3):
>    xsk: remove dangling function declaration from header file
>    samples: bpf: add missing munmap in xdpsock
>    libbpf: clear map_info before each bpf_obj_get_info_by_fd
> 
>   include/linux/netdevice.h  | 2 --
>   samples/bpf/xdpsock_user.c | 2 ++
>   tools/lib/bpf/xsk.c        | 5 +++--
>   3 files changed, 5 insertions(+), 4 deletions(-)
>
patchwork-bot+netdevbpf@kernel.org March 4, 2021, 3 p.m. UTC | #2
Hello:

This series was applied to bpf/bpf.git (refs/heads/master):

On Wed,  3 Mar 2021 19:56:33 +0100 you wrote:
> Hi,
> 
> This time three no-brainers, one is a fix that I sent among with
> bpf_link for AF_XDP set where John suggested that it should land in bpf
> tree.
> 
> Other is the missing munmap on xdpsock and some ancient function
> declaration removal.
> 
> [...]

Here is the summary with links:
  - [bpf,v2,1/3] xsk: remove dangling function declaration from header file
    https://git.kernel.org/bpf/bpf/c/c95c34f01bbd
  - [bpf,v2,2/3] samples: bpf: add missing munmap in xdpsock
    https://git.kernel.org/bpf/bpf/c/6bc669988101
  - [bpf,v2,3/3] libbpf: clear map_info before each bpf_obj_get_info_by_fd
    https://git.kernel.org/bpf/bpf/c/2b2aedabc44e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html