Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 20:19:17 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Randall Stewart <rrs@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet sctp.h sctp_asconf.c sctp_asconf.h sctp_bsd_addr.c sctp_constants.h sctp_indata.c sctp_input.c sctp_lock_bsd.h sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_peeloff.c sctp_sysctl.c sctp_sysctl.h sctp_timer.c sctp_uio.h ...
Message-ID:  <20070615001917.GA94743@rot13.obsecurity.org>
In-Reply-To: <200706142259.l5EMx4aW053356@repoman.freebsd.org>
References:  <200706142259.l5EMx4aW053356@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 14, 2007 at 10:59:04PM +0000, Randall Stewart wrote:
> rrs         2007-06-14 22:59:04 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/netinet          sctp.h sctp_asconf.c sctp_asconf.h 
>                          sctp_bsd_addr.c sctp_constants.h 
>                          sctp_indata.c sctp_input.c 
>                          sctp_lock_bsd.h sctp_os_bsd.h 
>                          sctp_output.c sctp_pcb.c sctp_pcb.h 
>                          sctp_peeloff.c sctp_sysctl.c 
>                          sctp_sysctl.h sctp_timer.c sctp_uio.h 
>                          sctp_usrreq.c sctputil.c sctputil.h 
>     sys/netinet6         sctp6_usrreq.c 
>     sys/conf             options 
>   Log:
>   - Fix so ifn's are properly deleted when the ref count goes to 0.
>   - Fix so VRF's will clean themselves up when no references are around.
>   - Allow sctp_ifa to be passed into inpcb_bind, addr_mgmt_ep_sa to bypass
>     normal validation checks.
>   - turn auto-asconf off for subset bound sockets
>   - Moves all logging to use KTR. This gets rid of most
>     of the logging #ifdef's with a few exceptions reducing
>     the number of config options for SCTP.

| +#ifndef SCTP_SUBSYS_KTR
| +#define SCTP_SUBSYS_KTR KTR_GEN
| +#endif

Brief silence after previous disapproval doesn't equal approval ;-)

What was wrong with the method I suggested, namely using KTR_SUBSYS if
a SCTP_TRACE option is included in the kernel?  That is the intended
way that events local to a particular subsystem should be handled.

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070615001917.GA94743>