diff options
author | Florian Westphal | 2014-10-23 10:36:06 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2014-10-24 14:30:15 +0200 |
commit | 9dfa1dfe4d5e5e66a991321ab08afe69759d797a (patch) | |
tree | f466a38d72a2cba8f6a93519c64a9d899690d612 /tools | |
parent | 7677e86843e2136a9b05549a9ca47d4f744565b6 (diff) |
netfilter: nf_log: account for size of NLMSG_DONE attribute
We currently neither account for the nlattr size, nor do we consider
the size of the trailing NLMSG_DONE when allocating nlmsg skb.
This can result in nflog to stop working, as __nfulnl_send() re-tries
sending forever if it failed to append NLMSG_DONE (which will never
work if buffer is not large enough).
Reported-by: Houcheng Lin <houcheng@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions