From owner-freebsd-current@FreeBSD.ORG Mon Aug 5 18:19:06 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A99616D; Mon, 5 Aug 2013 18:19:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E01B52E0B; Mon, 5 Aug 2013 18:19:05 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id y10so2694972wgg.4 for ; Mon, 05 Aug 2013 11:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=tMzw5Vr38AmxBMmKKa5qf7JQp1ahPyDqUdmn+Y8bX9o=; b=kLNFSK2UD4LQN0lR0UjIMtPl24ZHTSkSmrc1tygIjL6YVaugIqgTKANlwt/lF3/JAX 9Y/P+YmAVyfiAiK0GPX7jXrbCltQSur1i6DbzDTOe7F9Nl4HH9h9i83A9b6ZHrgy+ANY gmqPNqVJ9PmaGtF5Rg4xv/koCVMQRs24rJlDiZmXgYOHaWtfQZh+PDT5ecczOddArxAX qL5y0AMjHdku6E2ADwWLY22DdRxWOUGhvYBUJWcJvMc92Pmu6uVBXEslpM+ZQpMiJrQ1 bW5zb5IXVKRIHx8CvcgVIw+xvA/vcYsXADII5UPeZV0rkgVd7QE2nKlyHBvwmyXQqi23 yyxg== MIME-Version: 1.0 X-Received: by 10.194.201.202 with SMTP id kc10mr14215519wjc.1.1375726744177; Mon, 05 Aug 2013 11:19:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Mon, 5 Aug 2013 11:19:04 -0700 (PDT) In-Reply-To: References: <20130805082307.GA35162@onelab2.iet.unipi.it> <2034715395.855.1375714772487.JavaMail.root@daemoninthecloset.org> <51FFDD1E.1000206@FreeBSD.org> Date: Mon, 5 Aug 2013 11:19:04 -0700 X-Google-Sender-Auth: Ym1h1UimcX5x_7BkjBd_OP4xP4g Message-ID: Subject: Re: [net] protecting interfaces from races between control and data ? From: Adrian Chadd To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD current mailing list , Bryan Venteicher , Navdeep Parhar , net@freebsd.org, Giuseppe Lettieri , Jack Vogel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 18:19:06 -0000 No, brian said two things: * the flag, protected by the core lock * per-queue flags -adrian