From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: [PATCH net 0/3] tun: address two syzbot reports Date: Fri, 28 Sep 2018 14:51:46 -0700 Message-ID: <20180928215149.22092-1-edumazet@google.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: netdev , Eric Dumazet , Eric Dumazet To: "David S . Miller" Return-path: Received: from mail-pf1-f172.google.com ([209.85.210.172]:44087 "EHLO mail-pf1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbeI2ERf (ORCPT ); Sat, 29 Sep 2018 00:17:35 -0400 Received: by mail-pf1-f172.google.com with SMTP id k21-v6so5137229pff.11 for ; Fri, 28 Sep 2018 14:51:55 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Small changes addressing races discovered by syzbot. First patch is a cleanup. Second patch moves a mutex init sooner. Third patch makes sure each tfile gets its own napi enable flags. Eric Dumazet (3): tun: remove unused parameters tun: initialize napi_mutex unconditionally tun: napi flags belong to tfile drivers/net/tun.c | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) -- 2.19.0.605.g01d371f741-goog