From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: [PATCH bpf-next 0/2] bpf: stack depth tracking fix Date: Fri, 22 Dec 2017 13:33:26 -0800 Message-ID: <20171222213328.993019-1-ast@kernel.org> Mime-Version: 1.0 Content-Type: text/plain Cc: Daniel Borkmann , Jann Horn , , To: "David S . Miller" Return-path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:45228 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756798AbdLVVdb (ORCPT ); Fri, 22 Dec 2017 16:33:31 -0500 Received: from pps.filterd (m0001303.ppops.net [127.0.0.1]) by m0001303.ppops.net (8.16.0.21/8.16.0.21) with SMTP id vBMLXKkY026106 for ; Fri, 22 Dec 2017 13:33:30 -0800 Received: from mail.thefacebook.com ([199.201.64.23]) by m0001303.ppops.net with ESMTP id 2f0rf8b51v-4 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 22 Dec 2017 13:33:30 -0800 Sender: netdev-owner@vger.kernel.org List-ID: Jann reported an issue with stack depth tracking. Fix it and add tests. Alexei Starovoitov (2): bpf: fix maximum stack depth tracking logic selftests/bpf: additional stack depth tests include/linux/bpf_verifier.h | 17 ++++++++++ kernel/bpf/verifier.c | 15 +++++---- tools/testing/selftests/bpf/test_verifier.c | 50 +++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 6 deletions(-) -- 2.9.5