]> git.baikalelectronics.ru Git - kernel.git/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)
commit920a1c337b7637290e8193b21c0ff7b384ca8fbb
tree642e3e4b2625e476a1e31fe2e9aebd05a1e20417
parentfd1d5fc8fa9f372ac38f56b25540867ce9f8cde2
[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