Skip to content

get rid of struct nf_afinfo

Pablo Neira Ayuso netfilter-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 0 repliesNew
  2. v37 patches 0 repliesSuperseded
  3. v27 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7netfilter: move checksum indirection to struct nf_ipv6_opsinclude/linux/netfilter.h include/linux/netfilter_ipv4.h include/linux/netfilter_ipv6.h +5 more+44 -270 replies
2/7netfilter: move checksum_partial indirection to struct nf_ipv6_opsinclude/linux/netfilter.h include/linux/netfilter_ipv4.h include/linux/netfilter_ipv6.h +4 more+50 -380 replies
3/7netfilter: remove saveroute indirection in struct nf_afinfoinclude/linux/netfilter.h include/linux/netfilter_ipv4.h include/linux/netfilter_ipv6.h +4 more+60 -630 replies
4/7netfilter: move route indirection to struct nf_ipv6_opsinclude/linux/netfilter.h include/linux/netfilter_ipv4.h include/linux/netfilter_ipv6.h +9 more+68 -580 replies
5/7netfilter: move reroute indirection to struct nf_ipv6_opsinclude/linux/netfilter.h include/linux/netfilter_ipv4.h include/linux/netfilter_ipv6.h +5 more+35 -190 replies
6/7netfilter: remove route_key_size field in struct nf_afinfoinclude/linux/netfilter.h net/ipv4/netfilter.c net/ipv6/netfilter.c +1 more+16 -90 replies
7/7netfilter: remove struct nf_afinfo and its helper functionsinclude/linux/netfilter.h net/bridge/netfilter/nf_tables_bridge.c net/ipv4/netfilter.c +2 more+5 -630 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH nf-next,v4 0/7] get rid of struct nf_afinfo

This patch gets rid of the struct nf_afinfo abstraction [1].

Previous patchset version was flawed with CONFIG_NETFILTER=y and CONFIG_INET=n which is valid combination too.

Send a new version to address problems that have been spotted by the kbuild robot.

[1] https://marc.info/?l=netfilter-devel&m=151381157917882&w=2

Pablo Neira Ayuso (7):
netfilter: move checksum indirection to struct nf_ipv6_ops
netfilter: move checksum_partial indirection to struct nf_ipv6_ops
netfilter: remove saveroute indirection in struct nf_afinfo
netfilter: move route indirection to struct nf_ipv6_ops
netfilter: move reroute indirection to struct nf_ipv6_ops
netfilter: remove route_key_size field in struct nf_afinfo
netfilter: remove struct nf_afinfo and its helper functions

 include/linux/netfilter.h               | 68 ++++---------------------
 include/linux/netfilter_ipv4.h          | 44 ++++++++++++++++
 include/linux/netfilter_ipv6.h          | 17 +++++++
 net/bridge/netfilter/nf_tables_bridge.c | 51 ++-----------------
 net/ipv4/netfilter.c                    | 62 ++++-------------------
 net/ipv6/netfilter.c                    | 44 +++-------------
 net/ipv6/netfilter/nft_fib_ipv6.c       | 12 ++---
 net/netfilter/Makefile                  |  2 +-
 net/netfilter/core.c                    | 22 --------
 net/netfilter/nf_conntrack_h323_main.c  | 30 +++++------
 net/netfilter/nf_queue.c                | 68 +++++++++++++++++++++----
 net/netfilter/nft_rt.c                  | 15 ++----
 net/netfilter/utils.c                   | 90 +++++++++++++++++++++++++++++++++
 net/netfilter/xt_TCPMSS.c               |  5 +-
 net/netfilter/xt_addrtype.c             | 15 +++---
 15 files changed, 273 insertions(+), 272 deletions(-)
 create mode 100644 net/netfilter/utils.c
Signature · 1 line
2.11.0