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>
Showing
- include/net/netfilter/nf_conntrack_expect.h 3 additions, 1 deletioninclude/net/netfilter/nf_conntrack_expect.h
- include/net/netfilter/nf_conntrack_helper.h 1 addition, 1 deletioninclude/net/netfilter/nf_conntrack_helper.h
- net/netfilter/nf_conntrack_ftp.c 2 additions, 6 deletionsnet/netfilter/nf_conntrack_ftp.c
- net/netfilter/nf_conntrack_irc.c 2 additions, 6 deletionsnet/netfilter/nf_conntrack_irc.c
- net/netfilter/nf_conntrack_sane.c 2 additions, 6 deletionsnet/netfilter/nf_conntrack_sane.c
- net/netfilter/nf_conntrack_sip.c 2 additions, 5 deletionsnet/netfilter/nf_conntrack_sip.c
- net/netfilter/nf_conntrack_tftp.c 2 additions, 6 deletionsnet/netfilter/nf_conntrack_tftp.c
Please register or sign in to comment