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)
commit3a8fc53a45c444400259e2e285ba414a87061e3d
treeda62c51c2ec4fbc145a57b1207287c6b82d81e60
parentd0daebc3d622f95db181601cb0c4a0781f74f758
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