]> err.no Git - linux-2.6/commit
[NETFILTER]: nfnetlink_log: fix computation of netlink skb size
authorEric Leblond <eric@inl.fr>
Mon, 10 Mar 2008 23:42:04 +0000 (16:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Mar 2008 23:42:04 +0000 (16:42 -0700)
commit7000d38d6126d6ef928605bdacebc9f12279c5aa
tree426fc2ff9a0dd6e0e786ecda54969e8ced1c8c5b
parentcabaa9bfb01eb4cee97ffb8a18405f4c5175d3d9
[NETFILTER]: nfnetlink_log: fix computation of netlink skb size

This patch is similar to nfnetlink_queue fixes. It fixes the computation
of skb size by using NLMSG_SPACE instead of NLMSG_ALIGN.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c