From owner-cvs-sys Mon Jul 31 03:35:50 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id DAA17325 for cvs-sys-outgoing; Mon, 31 Jul 1995 03:35:50 -0700 Received: (from peter@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id DAA17313 ; Mon, 31 Jul 1995 03:35:40 -0700 Date: Mon, 31 Jul 1995 03:35:40 -0700 From: Peter Wemm Message-Id: <199507311035.DAA17313@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/net bpf.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk peter 95/07/31 03:35:40 Modified: sys/net bpf.c Log: Fix panic("ifpromisc failed") when shutting down a bpf tap when the attached interface is no longer IFF_UP. The test for IFF_UP in ifpromisc is only useful while enabling IFF_PROMISC and the higher levels of the bpf code do not allow for the possibility of failure while shutting down. This is a trivial change. Also, fixes PR#522.