]> git.baikalelectronics.ru Git - kernel.git/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)
commit87a9a98853d4567e8c0e93eb674989e2fc5b8151
tree426fc2ff9a0dd6e0e786ecda54969e8ced1c8c5b
parentaf33360226077f0be6a0dadff06df569ee685f54
[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