commit | d398807976c904be4dfa2e7804d4ab43aa904774 | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kjlu@umn.edu> | Fri Dec 21 00:46:23 2018 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Dec 05 09:20:59 2019 +0100 |
tree | 19062bad58a0ae6c77e260c12eeb2edb90554f3c | |
parent | a787b7ac3cc79cc8ad02e91385b9c7f5adebd31c [diff] |
netfilter: nf_tables: fix a missing check of nla_put_failure [ Upstream commit eb8950861c1bfd3eecc8f6faad213e3bca0dc395 ] If nla_nest_start() may fail. The fix checks its return value and goes to nla_put_failure if it fails. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>