PERFORCE change 91328 for review

Robert Watson rwatson at FreeBSD.org
Tue Feb 7 18:35:59 GMT 2006


http://perforce.freebsd.org/chv.cgi?CH=91328

Change 91328 by rwatson at 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++;
 	}
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list