commit | 1bc4e0136cb32282d7968e11cfabc40763fdb03c | [log] [tgz] |
---|---|---|
author | Liping Zhang <liping.zhang@spreadtrum.com> | Mon Jul 18 20:44:16 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Jul 21 02:32:33 2016 +0200 |
tree | 1d46c4bf8ee592f1ba69761f0c93349959adabae | |
parent | c2d9a4293ced88d7dad7c35c893a31f49f8b64f5 [diff] |
netfilter: nft_log: check the validity of log level User can specify the log level larger than 7(debug level) via nfnetlink, this is invalid. So in this case, we should report EINVAL to the userspace. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>