Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 1995 21:44:03 -0600
From:      Mike Hibler <mike@marker.cs.utah.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/791: panic: bpf: ifpromisc failed
Message-ID:  <199510250344.VAA10157@marker.cs.utah.edu>
Resent-Message-ID: <199510250350.UAA24808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         791
>Category:       kern
>Synopsis:       interrupt out of tcpdump at the wrong time, panic kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 24 20:50:00 PDT 1995
>Last-Modified:
>Originator:     Mike Hibler
>Organization:
Utah
>Release:        FreeBSD 2.1.0-950726-SNAP i386
>Environment:

	

>Description:

	bpf.c isn't prepared to deal with detaching from an interface
	that is down

>How-To-Repeat:

	ifconfig foo up
	tcpdump -i foo &
	<leave it running in the background>
	ifconfig foo down
	<kill the tcpdump, panic>

>Fix:
	
	NetBSD fixed this by checking the return value from ifpromisc
	and not panicing on EINVAL.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510250344.VAA10157>