Skip to content

Refine the robust of helper expectfn

[email protected] netfilter-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 4 repliesIn review
  2. v42 patches 2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: helper: Rename struct nf_ct_helper_expectfn to nf_ct_nat_helperinclude/net/netfilter/nf_conntrack_helper.h net/ipv4/netfilter/nf_nat_h323.c net/netfilter/nf_conntrack_helper.c +3 more+43 -430 replies
2/3netfilter: nat_helper: Make sure every proto nat module uses its nat_helperinclude/net/netfilter/nf_conntrack_expect.h include/net/netfilter/nf_conntrack_helper.h net/ipv4/netfilter/nf_nat_h323.c +11 more+101 -474 replies
3/3netfilter: nat_helper: Remove the expectations when its module is unloadedinclude/net/netfilter/nf_conntrack_helper.h net/ipv4/netfilter/nf_nat_h323.c net/netfilter/ipvs/ip_vs_nfct.c +9 more+60 -220 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH nf v5 0/3] Refine the robust of helper expectfn

From: Gao Feng <[email protected]>

These patches are used to refine the codes of helper expectfn, and enhance its robust, including fixing possible panic bug.

Gao Feng (3):
netfilter: helper: Rename struct nf_ct_helper_expectfn to
nf_ct_nat_helper
netfilter: nat_helper: Make sure every proto nat module uses its
nat_helper
netfilter: nat_helper: Remove the expectations when its module is
unloaded

 include/net/netfilter/nf_conntrack_expect.h |  5 +-
 include/net/netfilter/nf_conntrack_helper.h | 13 ++--
 net/ipv4/netfilter/nf_nat_h323.c            | 55 +++++++++++------
 net/netfilter/ipvs/ip_vs_nfct.c             |  8 ++-
 net/netfilter/nf_conntrack_broadcast.c      |  2 +-
 net/netfilter/nf_conntrack_core.c           |  4 +-
 net/netfilter/nf_conntrack_expect.c         | 10 ++-
 net/netfilter/nf_conntrack_helper.c         | 94 +++++++++++++++++------------
 net/netfilter/nf_conntrack_netlink.c        | 20 +++---
 net/netfilter/nf_conntrack_pptp.c           | 15 ++++-
 net/netfilter/nf_nat_amanda.c               | 10 ++-
 net/netfilter/nf_nat_core.c                 |  7 ++-
 net/netfilter/nf_nat_ftp.c                  | 10 ++-
 net/netfilter/nf_nat_irc.c                  | 10 ++-
 net/netfilter/nf_nat_sip.c                  | 23 ++++---
 net/netfilter/nf_nat_tftp.c                 | 10 ++-
 16 files changed, 194 insertions(+), 102 deletions(-)
Signature · 1 line
1.9.1