From owner-svn-src-head@freebsd.org Sat Aug 1 09:50:19 2015 Return-Path: Delivered-To: svn-src-head@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 902019AFE01 for ; Sat, 1 Aug 2015 09:50:19 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) (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 61408A26 for ; Sat, 1 Aug 2015 09:50:18 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by oig1 with SMTP id 1so15951990oig.0 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=J730YctQTRls6oFcTmCnWAgiQiRkfftduq8F5SeL5j9UuTqCLZ+TLqau3K8LJ0YWta 98G1IhTrfL3cuFOqo0mUhXuWDTQ1SIKgrB4TtlRknUDOhLEuj02L1cI6NM5nsKnRPmaO vjmIxWSMmxWYwvb6Cz7QsCtfx6cGOM77AZnAqzZNalvVkflAaY/J2SlBuTFpzA88Gvy5 bvUOZJS/r65jQM2EWsYLNoRSr+aEvM2UnWfHDDOKKS9t3OerypPZcwcdehsyuWIWAwNF 4Z3ro7GaDUtSngCND11XtGaTmgLeI/N1nqE0of6Ivc8WN+UhzW/c7nY60x5tG4aJ5hsq b3RQ== X-Gm-Message-State: ALoCoQkljsX1ScaeqE1SLdlRNKhDbYRguBuegTEe9cF45VyNMxERKcJsyfbup9rImady3beXnOMG 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-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current 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