Source-Changes archive

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

CVS commit: src/sys

Module Name:    src
Committed By:   ozaki-r
Date:           Wed Jan 10 02:50:26 UTC 2018

Modified Files:
        src/sys/kern: uipc_domain.c
        src/sys/rump/librump/rumpnet: rump_net.c
        src/sys/sys: domain.h

Log Message:
Don't start callouts for domains before attaching domains on rump kernels

On rump kernels, the callouts for domains, pffasttimo and pfslowtimo, started
before domains were attached. Normally the callouts were dispatched after
domain attaches (initializations) finished, however, under load the callouts
could be executed prior to the attaches, resulting in that the callouts accessed
unallocated or uninitialized resources.

To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/kern/uipc_domain.c
cvs rdiff -u -r1.20 -r1.21 src/sys/rump/librump/rumpnet/rump_net.c
cvs rdiff -u -r1.33 -r1.34 src/sys/sys/domain.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index