Skip to content

netfilter: conntrack: cleanups

Florian Westphal netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: conntrack: sctp: use nf log infrastructure for invalid packetsnet/netfilter/nf_conntrack_proto_sctp.c+15 -310 replies
2/3netfilter: conntrack: remove pr_debug callsnet/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_proto.c net/netfilter/nf_conntrack_proto_tcp.c+5 -440 replies
3/3netfilter: conntrack: avoid reload of ct->statusnet/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_proto_udp.c+11 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH nf-next 0/3] netfilter: conntrack: cleanups

- Get rid of old pr_debug calls. In some cases, switch to nf_log infra, in other cases they can just be removed.

- Some ct->status bits can only be set before the conntrack is inserted, such as IPS_NAT_CLASH. We can avoid refetch of ct->status in some cases because of this.

Florian Westphal (3):
netfilter: conntrack: sctp: use nf log infrastructure for invalid
packets
netfilter: conntrack: remove pr_debug calls
netfilter: conntrack: avoid reload of ct->status

 net/netfilter/nf_conntrack_core.c       | 29 ++++------------
 net/netfilter/nf_conntrack_proto.c      | 20 ++---------
 net/netfilter/nf_conntrack_proto_sctp.c | 46 ++++++++-----------------
 net/netfilter/nf_conntrack_proto_tcp.c  |  9 -----
 net/netfilter/nf_conntrack_proto_udp.c  | 10 +++---
 5 files changed, 31 insertions(+), 83 deletions(-)
Signature · 1 line
2.38.2