public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash•net>
To: herbert@gondor•apana.org.au
Cc: netdev@vger•kernel.org, Patrick McHardy <kaber@trash•net>,
	netfilter-devel@vger•kernel.org
Subject: [NET 00/02]: Remove NET_ACT_NAT dependency on NETFILTER
Date: Thu, 29 Nov 2007 10:57:34 +0100 (MET)	[thread overview]
Message-ID: <20071129095733.11756.86966.sendpatchset@localhost.localdomain> (raw)

These patches remove the dependency of NET_ACT_NAT on NETFILTER
by moving the netfilter checksum helpers to include/net/checksum
and net/core/utils.c. I didn't find more appropriate locations,
but I'd happily change it if someone suggests something better.


 include/linux/netfilter.h              |   22 ----------------------
 include/net/checksum.h                 |   25 +++++++++++++++++++++++++
 net/core/utils.c                       |   16 ++++++++++++++++
 net/ipv4/netfilter/ipt_ECN.c           |    6 +++---
 net/ipv4/netfilter/ipt_TOS.c           |    2 +-
 net/ipv4/netfilter/ipt_TTL.c           |    4 ++--
 net/ipv4/netfilter/nf_nat_core.c       |    4 ++--
 net/ipv4/netfilter/nf_nat_helper.c     |   20 ++++++++++----------
 net/ipv4/netfilter/nf_nat_proto_icmp.c |    4 ++--
 net/ipv4/netfilter/nf_nat_proto_tcp.c  |    4 ++--
 net/ipv4/netfilter/nf_nat_proto_udp.c  |    6 +++---
 net/netfilter/core.c                   |   16 ----------------
 net/netfilter/xt_TCPMSS.c              |   17 +++++++++--------
 net/sched/Kconfig                      |    1 -
 net/sched/act_nat.c                    |   12 ++++++------
 15 files changed, 81 insertions(+), 78 deletions(-)

Patrick McHardy (2):
      [NET]: Move netfilter checksum helpers to net/core/utils.c
      [NETFILTER]: Convert old checksum helper names

             reply	other threads:[~2007-11-29  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29  9:57 Patrick McHardy [this message]
2007-11-29  9:57 ` [NET 01/02]: Move netfilter checksum helpers to net/core/utils.c Patrick McHardy
2007-11-29  9:57 ` [NETFILTER 02/02]: Convert old checksum helper names Patrick McHardy
2007-11-29 14:32 ` [NET 00/02]: Remove NET_ACT_NAT dependency on NETFILTER Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071129095733.11756.86966.sendpatchset@localhost.localdomain \
    --to=kaber@trash$(echo .)net \
    --cc=herbert@gondor$(echo .)apana.org.au \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=netfilter-devel@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox