]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_ct_helper: allocate 16 bytes for the helper and policy names
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 15 Jan 2012 15:34:08 +0000 (16:34 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 16 Jun 2012 13:08:39 +0000 (15:08 +0200)
commitcd57f32d02ce5653d45be468e6ada3fddb4f6d22
treeda62c51c2ec4fbc145a57b1207287c6b82d81e60
parentbfaf4e563f62d6792aea80e828113336e104130a
netfilter: nf_ct_helper: allocate 16 bytes for the helper and policy names

This patch modifies the struct nf_conntrack_helper to allocate
the room for the helper name. The maximum length is 16 bytes
(this was already introduced in 2.6.24).

For the maximum length for expectation policy names, I have
also selected 16 bytes.

This patch is required by the follow-up patch to support
user-space connection tracking helpers.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_expect.h
include/net/netfilter/nf_conntrack_helper.h
net/netfilter/nf_conntrack_ftp.c
net/netfilter/nf_conntrack_irc.c
net/netfilter/nf_conntrack_sane.c
net/netfilter/nf_conntrack_sip.c
net/netfilter/nf_conntrack_tftp.c