Source-Changes archive

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

CVS commit: src/sys/net



Module Name:    src
Committed By:   yamaguchi
Date:           Tue Jul 28 07:01:23 UTC 2026

Modified Files:
        src/sys/net: if_spppsubr.c

Log Message:
sppp: use RUN_ONCE(9) to initialize keepalive related resources
to prevent panics during concurrent attach/detach

- Initialize keepalive resources (e.g. spppq_lock and keepalive_ch)
  once using RUN_ONCE(9) instead of the first attach.
- Do not free these resources on sppp_detach

NOTE:
We should release these resources in sppp_subr_modcmd(), but module
unloading/cleanup is not implemented yet.


To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 src/sys/net/if_spppsubr.c

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