Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp439151imm; Wed, 18 Jul 2018 05:01:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpftiNggBO8JplbevS/sbCmHFr1EqEzzB2rQA4DmCemBopreMrcc2qBqsI8mKwnegrDS1qIA X-Received: by 2002:a17:902:b28c:: with SMTP id u12-v6mr5563164plr.16.1531915266201; Wed, 18 Jul 2018 05:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531915266; cv=none; d=google.com; s=arc-20160816; b=IUY5wtq43SQ6SM0H9dGFE6fFU9jLPAy6rvBQznrwcOqNxbz4T//3bgx/uBT/zBhX3Y Agt1Hr3yRzF/g9Uy2geMT12YSRaToY1vNi6vVXYmFLCuQauyu1yoN1DHFyUXCnxOD/FF QeSXkycOyLQzBdAuWwgWGyA+wbP3osQYqZeYOKY2Du/AgHStKlXMD3WY6FNt2/uKBBvk 7W3a98dTVfaZzSrT/oeb/oba2y0LevILD6luhytO4BSLU9G3Xz5STwoKwYXt5FYxFigz 0xuLSkpZ35ClzDiUwVskTHilqPr6XF7RVMkQDrkLHIEtar/rmhCLZKMy0uh7kbXE8rUT DiPQ== 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:dkim-signature:arc-authentication-results; bh=GEaKs+/CqQZZetCX9ZFZioSChqDGf4b3uWl+vKwIlvM=; b=ZMEQuu9qBgyzBqk0mYc8c0GCo6/lFk8wI9WFXaaKcz8fodVdWnXWeKYFuC0T7GxJgj PreboECY4/H9YmSHtsfaIcUP0QPchscLPby4GN8tWNmCwis1Gnu2BmsJdmXYFQHp67ZB qZFhCxzHssuXJxNfXTwuUbWzxjv06eHzzabPqeuGMYYekKrxlKGt0yDA2Srth7xlTRL7 J3Wv+sAGYwWjQilLgJQNayE0G5mJXIPFyFeZAyxCh8BFD2YGuDYkWPdL9/6N8ORGZMUx +CtNRboTwLlugK+okN1+U/VUgscT6v71CZf4L/NfSkIQ3edrn7G9RGvHNHTT+8eL2YKB VUWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ny5j1gzn; 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 r59-v6si2989047plb.314.2018.07.18.05.00.50; Wed, 18 Jul 2018 05:01:06 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ny5j1gzn; 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 S1730821AbeGRMg5 (ORCPT + 99 others); Wed, 18 Jul 2018 08:36:57 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57214 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728626AbeGRMg5 (ORCPT ); Wed, 18 Jul 2018 08:36:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GEaKs+/CqQZZetCX9ZFZioSChqDGf4b3uWl+vKwIlvM=; b=ny5j1gznjyx8LcEak7SHg9PKL qbKLqibpnpLV7o0S9Uw3Y8WvRS+8NO/cN8tKzgwAsZVrWOz3mEnoRaZLi2KxuVCvDWtUT+UFYk091 GrmSzitLmGCEbrRthS3SRULzFr9PE/VwoTMKXUh3LjObbPlRPVzxHA3agWuCMpyGncpZ+paW2E9yn ECH5AE53fzSP4pPj4rz06HHndJcQxXRgl0BR5i6At6XjdmdkBuwgPiVnEWXVF8gEIC6ukcgUYhD23 htyhZGCT0yxJ2Y96KPl3MkNoCRbBBS84HMwIkvfZ/X4KlwUFcJZioMF1HM8RFHizt4mIHClVPqhh8 fuw6w6OYg==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffl71-00069j-MI; Wed, 18 Jul 2018 11:59:19 +0000 Date: Wed, 18 Jul 2018 04:59:19 -0700 From: Matthew Wilcox To: Pablo Neira Ayuso Cc: Stephen Rothwell , NetFilter , Linux-Next Mailing List , Linux Kernel Mailing List , Varsha Rao Subject: Re: linux-next: build failure after merge of the ida tree Message-ID: <20180718115919.GB4949@bombadil.infradead.org> References: <20180718165406.6f262266@canb.auug.org.au> <20180718092426.mxdti3jes5jsssta@salvia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180718092426.mxdti3jes5jsssta@salvia> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 18, 2018 at 11:24:26AM +0200, Pablo Neira Ayuso wrote: > I see, we have no more lockless API for IDA anymore :-(. In our case, > we were already protected by the the nfnl_lock mutex, which it was > sufficient to ensure non-concurrent access to IDA structures. You're actually the first user for whom this is true. For every other user, the requirement to manage their own spinlock was a pain. > Unless I'm missing anything, the new API forces use to the spinlock > call with disabled irq for each time we update something from the > netfilter netlink interface, so that's a no-go for us. I can't believe that's a serious problem for you, though. You're calling sscanf(), this can't possibly be a performance path.