cvs commit: src/sys/netinet sctp_bsd_addr.c

John Baldwin jhb at FreeBSD.org
Mon Dec 31 18:14:26 UTC 2007


On Saturday 29 December 2007 10:07:54 am Randall Stewart wrote:
> rrs         2007-12-29 15:07:54 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:        (Branch: RELENG_7_0)
>     sys/netinet          sctp_bsd_addr.c 
>   Log:
>   - sctp-iterator should run at PI_NET priority ...not 0.
>   Approved by:    re at freebsd.org(gnn)
>   
>   Revision  Changes    Path
>   1.14.4.1  +1 -1      src/sys/netinet/sctp_bsd_addr.c

The more correct fix though is to do a 'sched_prio()' at the start of the 
thread's main loop to set the priority and then not adjust it via msleep().  
Kernel threads really should never pass a priority to msleep() but always '0' 
(which means "don't change my priority").

-- 
John Baldwin


More information about the cvs-all mailing list