From owner-svn-src-all@freebsd.org Sat Aug 1 09:50:19 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F9019AFE00 for ; Sat, 1 Aug 2015 09:50:19 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6133DA24 for ; Sat, 1 Aug 2015 09:50:18 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by oihq81 with SMTP id q81so50039693oih.2 for ; Sat, 01 Aug 2015 02:50:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oxyo3dCky1c/+qGNVNB/Zw9CpGWrOG+Mk4UMbQCsHx8=; b=e2FPPhry3sIbUzWoXwXeGvSdrK7oWMDOwTH4A2KxWDmGtaadGutafTxvPKUyQJjpGQ DzeJvV/ioU7qKj7gg0tl6kH62eBlZqYFIzRt8ZJ/b7ULI6FK1Bg3/ZY7PAaNALKPZ815 HxUv5+HRDhos3ThYmdyJWT6F7COszgPsUq0OXtzwwUuU7qKh98KJDIcevCoF6mj2I8pT Q9jFrtJS84x5rNskBy+5Mtr0sw+5lKhPmIcLEZjmZoQyAyRL6gIYYaE0iLz9mfcK5P7d 2Di1X03bvICCOmZWCFWwo83nQse+5GfZ3xjp7d75qnTqlKcKCdU5rqz31wgsXDgT47+k saeg== X-Gm-Message-State: ALoCoQlvFCYSpAwYC5PJckRSSoIkBJFZfGMrnmm5AbseLBbK7ksFcg5xDB0aZs7aijc28UOsX7eK MIME-Version: 1.0 X-Received: by 10.202.171.21 with SMTP id u21mr7501366oie.113.1438422611802; Sat, 01 Aug 2015 02:50:11 -0700 (PDT) Received: by 10.76.50.84 with HTTP; Sat, 1 Aug 2015 02:50:11 -0700 (PDT) X-Originating-IP: [84.27.222.46] In-Reply-To: <201507312143.t6VLhSBm046797@repo.freebsd.org> References: <201507312143.t6VLhSBm046797@repo.freebsd.org> Date: Sat, 1 Aug 2015 11:50:11 +0200 Message-ID: Subject: Re: svn commit: r286142 - head/sys/net From: Ed Schouten To: Luiz Otavio O Souza Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2015 09:50:19 -0000 Hi Luiz, 2015-07-31 23:43 GMT+02:00 Luiz Otavio O Souza : > - while (d->bd_hbuf_in_use) > - mtx_sleep(&d->bd_hbuf_in_use, &d->bd_lock, > - PRINET, "bd_hbuf", 0); Would it make sense to replace them by an assertion, instead of omitting them entirely? KASSERT(!d->bd_hbuf_in_use, ("...")); Thanks, -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK/VAT number: 62051717