]> err.no Git - linux-2.6/commit
[NETFILTER]: nfnetlink_queue: fix nfnetlink message size
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 22 Mar 2006 21:54:40 +0000 (13:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2006 21:54:40 +0000 (13:54 -0800)
commitf0d835835ba30686dc085e98c8eeac0b9c26e3b2
tree85149be8e4154bda3fc9c979693fb5bf997d82f3
parent1cde64365b0c4f576f8f45b834e6a6de081b5914
[NETFILTER]: nfnetlink_queue: fix nfnetlink message size

Fix oversized message, use NLMSG_SPACE just one since it reserves space
for the netlink header and NFA_SPACE for every attribute.

Thanks to Harald Welte for the feedback

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_queue.c