[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel/1822: ubsec_feed generates "new max agregate" on console




>Number:         1822
>Category:       kernel
>Synopsis:       ubsec_feed generates "new max agregate" on console
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 14 10:30:02 MDT 2001
>Last-Modified:
>Originator:     Stephen J. Bevan
>Organization:
eTunnels
>Release:        2.8
>Environment:
	<machine, os, target, libraries (multiple lines)>
	System      : OpenBSD 2.8
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
        The following lines from ubsec_feed in ubsec.c(1.33) but also
        still in 1.48 :-

	/* XXX temporary aggregation statistics reporting code */
        if (max < npkts) {
                max = npkts;
                printf("%s: new max aggregate %d\n", sc->sc_dv.dv_xname, max);
        }

        cause messages of the form 

          ubsec0: new max aggregate 3

        to be written to the console.

>How-To-Repeat:
	
>Fix:
	I assume the printf is there for debugging purposes and so can
	be wrapped in #ifdef UBSEC_DEBUG #endif

>Audit-Trail:
>Unformatted: