]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_conntrack: fix helper structure alignment
authorPatrick McHardy <kaber@trash.net>
Sun, 3 Dec 2006 06:04:50 +0000 (22:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2006 06:04:50 +0000 (22:04 -0800)
commitf9aae95828d3478520f4bd73221bcb450ec1a5c0
tree642e3e4b2625e476a1e31fe2e9aebd05a1e20417
parent0c4ca1bd8638d04796553b6e678063c4fadb92cc
[NETFILTER]: nf_conntrack: fix helper structure alignment

Adding the alignment to the size doesn't make any sense, what it
should do is align the size of the conntrack structure to the
alignment requirements of the helper structure and return an
aligned pointer in nfct_help().

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_helper.c