From owner-freebsd-net@FreeBSD.ORG Fri Feb 1 06:09:05 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2B49819B for ; Fri, 1 Feb 2013 06:09:05 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by mx1.freebsd.org (Postfix) with ESMTP id A08CCCD0 for ; Fri, 1 Feb 2013 06:09:04 +0000 (UTC) Received: by mail-ee0-f47.google.com with SMTP id e52so1845005eek.20 for ; Thu, 31 Jan 2013 22:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=/AvTqCffX6UPidxtiA6Zb+bYoy4kjn++EZI5gAp96/0=; b=nFMWtOsWfP6XGpC1/0hznHO+SGFSUflteoFALxjVbpMCFK2o5/Rr8NrNjtwSMbkthz ig4g6qnTh4nVgx5jMcMmL4XDetvj6Vg2pXdnEFOJHNctwAdKIUOq72JZmOFiNHhDmTZJ vEeI21zuhmh3NBmD66aFzWWgGowN4uL8OFxX6PLb9MliX+Xqhm8OlYiH9cHCHVk+jG2c lXghoUwjd1Rer3qLd5vNrr4jph6B9DUnfXfK/xu/786zCkgnadYxwnqVte7+zxapLag+ dXtn/AW559CrAWx3F5z0NLVHj0Asz+cAdpGPm6FCB6v4gA17HpCVBIupE2CLy5kpmxQg 7BDw== MIME-Version: 1.0 X-Received: by 10.14.173.196 with SMTP id v44mr35532220eel.29.1359698943596; Thu, 31 Jan 2013 22:09:03 -0800 (PST) Received: by 10.223.161.80 with HTTP; Thu, 31 Jan 2013 22:09:03 -0800 (PST) Date: Thu, 31 Jan 2013 22:09:03 -0800 Message-ID: Subject: Why call ETHER_BPF_MTAP on Tx when not tracing From: Vijay Singh To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 06:09:05 -0000 I see that BPFIF_LOCK() in bpf_mtap() is getting invoked, even though I am not tracing the interface. Is this expected? -vijay PS: I am running 8.2.