Re: [PATCH] netfilter: fix a missing check of nla put failure

2018-12-28 Thread Pablo Neira Ayuso
On Fri, Dec 21, 2018 at 12:46:23AM -0600, Kangjie Lu wrote: > If nla_nest_start() may fail. The fix checks its return value and goes > to nla_put_failure if it fails. Applied, thanks.

[PATCH] netfilter: fix a missing check of nla put failure

2018-12-20 Thread Kangjie Lu
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 --- net/netfilter/nf_tables_api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 2e61aab6ed7