OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Miod Vallat (miodcvs.openbsd.org)
Date: Tue Jun 04 2013 - 14:10:53 CDT


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2013/06/04 13:10:52

Modified files:
        sys/dev/pci : if_de.c

Log message:
Prevent panic'ing on alpha after ifconfig'ing up an unplugged de interface,
by making tulip_txput() aware of whether or not the mbuf it is processing
is in if_snq or not, rather than abusing the TULIP_TXPROBE_ACTIVE flag.

Found the hard way by kurt, tested on AlphaServer 1000A, I've been sleeping
on this diff for about 3 years.