]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_ct_helper: implement variable length helper private data
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 7 Jun 2012 10:11:50 +0000 (12:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 16 Jun 2012 13:08:55 +0000 (15:08 +0200)
commitde6f334ed57d3a09969aa90891654d3b1f1652ba
treee4182f8c9539d16d96136ca681ab1cf4a8c430ec
parent0cd1646c2d1b7302c01dc1cfec1ee6f8cb9f39d8
netfilter: nf_ct_helper: implement variable length helper private data

This patch uses the new variable length conntrack extensions.

Instead of using union nf_conntrack_help that contain all the
helper private data information, we allocate variable length
area to store the private helper data.

This patch includes the modification of all existing helpers.
It also includes a couple of include header to avoid compilation
warnings.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
17 files changed:
include/linux/netfilter/nf_conntrack_sip.h
include/net/netfilter/nf_conntrack.h
include/net/netfilter/nf_conntrack_helper.h
net/ipv4/netfilter/nf_nat_amanda.c
net/ipv4/netfilter/nf_nat_h323.c
net/ipv4/netfilter/nf_nat_pptp.c
net/ipv4/netfilter/nf_nat_tftp.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_ftp.c
net/netfilter/nf_conntrack_h323_main.c
net/netfilter/nf_conntrack_helper.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_conntrack_pptp.c
net/netfilter/nf_conntrack_proto_gre.c
net/netfilter/nf_conntrack_sane.c
net/netfilter/nf_conntrack_sip.c
net/netfilter/xt_CT.c