From owner-freebsd-wireless@freebsd.org Fri Oct 16 18:36:55 2015 Return-Path: Delivered-To: freebsd-wireless@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 1D850A17C56 for ; Fri, 16 Oct 2015 18:36:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A8631EEE for ; Fri, 16 Oct 2015 18:36:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9GIasqN003765 for ; Fri, 16 Oct 2015 18:36:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203827] hostapd getting stuck with net.bpf.zerocopy_enable=1 Date: Fri, 16 Oct 2015 18:36:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ndenev@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2015 18:36:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203827 Bug ID: 203827 Summary: hostapd getting stuck with net.bpf.zerocopy_enable=1 Product: Base System Version: 10.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: ndenev@gmail.com Just upgraded to 10-stable from today and I've noticed several wireless clients can no longer authenticate. Running hostapd with debug in foreground shows single client authenticate then no more log messages are displayed. Killing hostapd with Ctrl-C shows the following message: ^Celoop: could not process SIGINT or SIGTERM in two seconds. Looks like there is a bug that ends up in a busy loop that prevents clean shutdown. Killing program forcefully. Tracing hostapd shows it's getting stuck at pcap_next(), so I've made a wild guess and tried disabling some non-default bpf related sysctls I've set, namely net.bpf.zerocopy_enable which seems to made hostapd happy again. I see a few bpf.c commits from Aug that might be suspect: r286859 | loos | 2015-08-17 19:06:14 +0000 (Mon, 17 Aug 2015) | 17 lines r286856 | loos | 2015-08-17 18:43:39 +0000 (Mon, 17 Aug 2015) | 29 lines r286850 | loos | 2015-08-17 18:21:18 +0000 (Mon, 17 Aug 2015) | 18 lines -- You are receiving this mail because: You are the assignee for the bug.