]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_ct_sip: fix helper name
authorPatrick McHardy <kaber@trash.net>
Thu, 9 Aug 2012 10:08:45 +0000 (10:08 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 10 Aug 2012 09:53:03 +0000 (11:53 +0200)
commit48cd5f9076091f1778bce7636f6fda865f30aa80
tree450ef5ff35896c28ee4635d1f91dab0e9eb44c47
parent830aface1d21f20cbcb8b720d862e68921aeb009
netfilter: nf_ct_sip: fix helper name

Commit 29f912b1 (netfilter: nf_ct_helper: allocate 16 bytes for the helper
and policy names) introduced a bug in the SIP helper, the helper name is
sprinted to the sip_names array instead of instead of into the helper
structure. This breaks the helper match and the /proc/net/nf_conntrack_expect
output.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_sip.c