Date: Tue, 7 Feb 2006 18:35:59 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91328 for review Message-ID: <200602071835.k17IZx6l098889@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91328 Change 91328 by rwatson@rwatson_zoo on 2006/02/07 18:35:56 When queue overflows and a record is removed, remember to update the queue length. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_pipe.c#7 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_pipe.c#7 (text+ko) ==== @@ -198,6 +198,7 @@ ape_remove = TAILQ_FIRST(&ap->ap_queue); TAILQ_REMOVE(&ap->ap_queue, ape_remove, ape_queue); audit_pipe_entry_free(ape_remove); + ap->ap_qlen--; ap->ap_drops++; audit_pipe_drops++; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602071835.k17IZx6l098889>