summaryrefslogtreecommitdiff
path: root/sys/netinet/igmp.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-06-26 09:32:33 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-06-26 09:32:33 +0000
commitec3b783a00cd99146e96e03e43f820de8b74d5bf (patch)
tree077b762a23335467c5cc1192f6867a7ea530d399 /sys/netinet/igmp.h
parente250babd8a463fb200b5e80b9bfe3be2e9008824 (diff)
Assert that the corresponding socket is locked when manipulating socket
buffers. This is one step towards unlocking TCP input path. Note that all the functions asserting for the socket lock are not necessarilly MP-safe. All the fields of 'struct socket' aren't protected. Introduce a new kernel-only kqueue hint, NOTE_SUBMIT, to be able to tell when a filter needs to lock the underlying data structures. Logic and name taken from NetBSD. Tested by Hrvoje Popovski. ok claudio@, bluhm@, mikeb@
Diffstat (limited to 'sys/netinet/igmp.h')
0 files changed, 0 insertions, 0 deletions