]> 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)
commit29f912b1237b61fa5c70d55df9eb7d62d5b0d5f0
treeda62c51c2ec4fbc145a57b1207287c6b82d81e60
parente4305a548bb764c2387d86a391b9c8459d120964
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