Date: Tue, 8 Apr 2003 19:21:54 -0700 (PDT) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_vr.c Message-ID: <200304090221.h392LsxA024220@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2003/04/08 19:21:54 PDT FreeBSD src repository Modified files: sys/pci if_vr.c Log: Fix if_vr's handling of vr_encap failures. 3 parts: - Don't bother setting OACTIVE when the descriptors are all full or there's a vr_encap failure, it doesn't help anything. - Correctly roll back on the descriptor list after a failure so as not to corrupt the list. - Add a missing VR_UNLOCK(). Without these changes, vr_encap failure (which is assured during a low mbuf situation) would result in the card locking until the watchdog could fire. MFC after: 1 week Revision Changes Path 1.67 +9 -10 src/sys/pci/if_vr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304090221.h392LsxA024220>