Skip to content

Fix invoking expectfn unloaded

[email protected] netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 2 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netfilter: 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/2netfilter: helper: Fix possible panic caused by invoking expectfn unloadedinclude/net/netfilter/nf_conntrack_expect.h include/net/netfilter/nf_conntrack_helper.h net/ipv4/netfilter/nf_nat_h323.c +6 more+52 -252 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH nf v3 0/2] Fix invoking expectfn unloaded

From: Gao Feng <[email protected]>

It is possible that invoke one expectfn whose module is already unloaded. These two patches are used to fix it.

Gao Feng (2):
netfilter: helper: Rename struct nf_ct_helper_expectfn to
nf_ct_nat_helper
netfilter: helper: Fix possible panic caused by invoking expectfn
unloaded

 include/net/netfilter/nf_conntrack_expect.h |  2 +
 include/net/netfilter/nf_conntrack_helper.h | 15 ++---
 net/ipv4/netfilter/nf_nat_h323.c            | 14 +++--
 net/netfilter/nf_conntrack_broadcast.c      |  1 +
 net/netfilter/nf_conntrack_expect.c         |  1 +
 net/netfilter/nf_conntrack_helper.c         | 95 +++++++++++++++++------------
 net/netfilter/nf_conntrack_netlink.c        | 21 ++++---
 net/netfilter/nf_nat_core.c                 |  7 ++-
 net/netfilter/nf_nat_sip.c                  |  7 ++-
 9 files changed, 95 insertions(+), 68 deletions(-)
Signature · 1 line
1.9.1