Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/net



Module Name:    src
Committed By:   martin
Date:           Fri Sep 13 14:14:41 UTC 2024

Modified Files:
        src/sys/net [netbsd-9]: bpf.c bpfdesc.h

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #1886):

        sys/net/bpfdesc.h: revision 1.49
        sys/net/bpf.c: revision 1.256
        sys/net/bpf.c: revision 1.257
        sys/net/bpfdesc.h: revision 1.50

bpf: restore wakeup softint

This change fixes the issue that fownsignal which can take an
adaptive mutex is called inside a pserialize read section in
bpf_deliver.

Fix issue #4 (only the latter of two) in PR#58596
bpf: protect selnotify and selrecord with bd_buf_mtx

We have to make updates and checks of buffers and calls of
selnotify/selrecord atomic to satisfy constraints of sel* API.

Also, bd_state and bd_cv are protected by bd_buf_mtx now.

Fix issue #3 of PR#58596

Part of the fix is inspired by riastradh's patch.


To generate a diff of this commit:
cvs rdiff -u -r1.229.2.3 -r1.229.2.4 src/sys/net/bpf.c
cvs rdiff -u -r1.46 -r1.46.6.1 src/sys/net/bpfdesc.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