Skip to content

bpf: Small nf_conn cleanups

Daniel Xu bpf lkml netdev netfilter-devel 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied 3/3
  2. v23 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Remove unused #include's
- Move #include <linux/filter.h> to .c

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3bpf: Remove unused btf_struct_access stubinclude/net/netfilter/nf_conntrack_bpf.h+0 -120 repliesApplied
2/3bpf: Rename nfct_bsa to nfct_btf_struct_accessinclude/net/netfilter/nf_conntrack_bpf.h net/core/filter.c net/netfilter/nf_conntrack_bpf.c+15 -150 repliesApplied
3/3bpf: Move nf_conn extern declarations to filter.hinclude/linux/filter.h include/net/netfilter/nf_conntrack_bpf.h net/netfilter/nf_conntrack_bpf.c+7 -61 replyApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH bpf-next v3 0/3] bpf: Small nf_conn cleanups

This patchset cleans up a few small things:

* Delete unused stub
* Rename variable to be more descriptive
* Fix some extern declaration warnings

Past discussion:
- v2: https://lore.kernel.org/bpf/[email protected]/

Changes since v2:
- Remove unused #include's
- Move #include <linux/filter.h> to .c

Daniel Xu (3):
bpf: Remove unused btf_struct_access stub
bpf: Rename nfct_bsa to nfct_btf_struct_access
bpf: Move nf_conn extern declarations to filter.h

 include/linux/filter.h                   |  6 ++++++
 include/net/netfilter/nf_conntrack_bpf.h | 18 ------------------
 net/core/filter.c                        | 18 +++++++++---------
 net/netfilter/nf_conntrack_bpf.c         |  5 +++--
 4 files changed, 18 insertions(+), 29 deletions(-)
Signature · 1 line
2.37.1