Received: by 10.223.176.5 with SMTP id f5csp1022139wra; Wed, 7 Feb 2018 11:16:24 -0800 (PST) X-Google-Smtp-Source: AH8x227MvuklqeWEWByY5fIOrfau++ngKrMU+hqFTWkgO9AhN9Y/9ztKoFlqQhnAVLROkjqDaC0G X-Received: by 2002:a17:902:758b:: with SMTP id j11-v6mr7138208pll.224.1518030984630; Wed, 07 Feb 2018 11:16:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518030984; cv=none; d=google.com; s=arc-20160816; b=yfD0ROdoF7geYR3CQSd3g9/S11KwjNpV061Ux/bPxt544BMYwrR72mYuTOh1//mVFr Nx9yVPB9PMjbZ2/7K9ojosz/6YknNebiUGb3Anlu+xwLTsp9mWNXI7pU3Lw1x52rRbiy /gvO4zI7/1yK58IXM0ckurUf7mQVa4iGTDIe1cVInbV1qOn2HCZibodcmFPuRgtd4KFR Bxwv4SQcfEFqv2zUGDRDOsDGQb6VakY8g44hpvnQI6WoN9H3P3uWQ6WLbHkz9m/PMMMg JizLLYzY8xGhJchBUVSiZEhjioHr4V8enNtt2XR6ZNqVWY/Nx0lR1m2EOT4ddAVKnAYH 1UgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=issM/ObafTaoWCThrz3V1WPUP8QWkoyaCW0ZNjYXaS0=; b=JdfsxdtTrj1alPglEEoyC9OtzXOWA3A4vdcHnMe1Q9pudJITpVUi+hYwVs/fU1GB0K a9DaqCo3I7Jd2QQAoriB2aZ4GmpEm95QErq44ATn2d2QoFFudi2eW6nkp5F2HzFw5cHV oxMdBILMRdkCDPwvMAl9wbm1mR70d3U/sTQBPgtIRPBccELtTI1egDXAysw8981MH47/ ves48zIVOXf1Q7MuIWTs6J/0Tz32BOO1bT7BId3xZnFg+1AUakL2W3B/Y0GTWOXnqqJr 8iUOI4dULZkrKh2vWmv7pNyi1x2Z4bLKL8XW9bNSygQ5efbf0kw+x1cq78bmHVAmJARM U5LQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l61-v6si1509511plb.219.2018.02.07.11.16.10; Wed, 07 Feb 2018 11:16:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754617AbeBGTP0 (ORCPT + 99 others); Wed, 7 Feb 2018 14:15:26 -0500 Received: from mail.us.es ([193.147.175.20]:49628 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754530AbeBGTPY (ORCPT ); Wed, 7 Feb 2018 14:15:24 -0500 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id ECFE43066B5 for ; Wed, 7 Feb 2018 20:15:22 +0100 (CET) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id DB410DA242 for ; Wed, 7 Feb 2018 20:15:22 +0100 (CET) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id BF875DA808; Wed, 7 Feb 2018 20:15:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.0 required=7.5 tests=ALL_TRUSTED,BAYES_50, HEADER_FROM_DIFFERENT_DOMAINS,SMTPAUTH_US2,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id EB31FDA788; Wed, 7 Feb 2018 20:15:19 +0100 (CET) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Wed, 07 Feb 2018 20:15:19 +0100 (CET) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (129.166.216.87.static.jazztel.es [87.216.166.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id 6E8CB4265A2F; Wed, 7 Feb 2018 20:15:19 +0100 (CET) Date: Wed, 7 Feb 2018 20:15:18 +0100 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Andrew Morton Cc: Michal Hocko , Andrea Arcangeli , Yang Shi , Tetsuo Handa , netdev , guro@fb.com, LKML , Ingo Molnar , syzkaller-bugs@googlegroups.com, Linux-MM , coreteam@netfilter.org, netfilter-devel@vger.kernel.org, "Kirill A. Shutemov" , David Rientjes , "Kirill A. Shutemov" , David Miller , Dmitry Vyukov Subject: Re: [netfilter-core] kernel panic: Out of memory and no killable processes... (2) Message-ID: <20180207191518.jehn3pyssyvupt7n@salvia> References: <20180130075226.GL21609@dhcp22.suse.cz> <20180130081127.GH5906@breakpoint.cc> <20180130082817.cbax5qj4mxancx4b@node.shutemov.name> <20180130095739.GV21609@dhcp22.suse.cz> <20180130140104.GE21609@dhcp22.suse.cz> <20180130112745.934883e37e696ab7f875a385@linux-foundation.org> <20180131081916.GO21609@dhcp22.suse.cz> <20180207174439.esm4djxb4trbotne@salvia> <20180207110642.dbb3fe499a134d1369f05a2f@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180207110642.dbb3fe499a134d1369f05a2f@linux-foundation.org> User-Agent: NeoMutt/20170113 (1.7.2) X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 07, 2018 at 11:06:42AM -0800, Andrew Morton wrote: > From: Michal Hocko > Subject: net/netfilter/x_tables.c: remove size check > > Back in 2002 vmalloc used to BUG on too large sizes. We are much better > behaved these days and vmalloc simply returns NULL for those. Remove the > check as it simply not needed and the comment is even misleading. Applied, thanks!