Skip to content

AF_XDP small fixes

Maciej Fijalkowski bpf 2 versions Applied

Status from this message: This series was applied to bpf/bpf.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3xsk: remove dangling function declaration from header fileinclude/linux/netdevice.h+0 -20 repliesApplied
2/3samples: bpf: add missing munmap in xdpsocksamples/bpf/xdpsock_user.c+2 -00 repliesApplied
3/3libbpf: clear map_info before each bpf_obj_get_info_by_fdtools/lib/bpf/xsk.c+3 -20 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBjörn Töpel
SeriesA-b
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf v2 0/3] AF_XDP small fixes

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(-)
Signature · 1 line
2.20.1