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 Nov 22 03:03:18 UTC 2017
Modified Files:
src/sys/kern: sys_socket.c
src/sys/net: if.c if.h if_media.c if_vlan.c
Log Message:
Hold KERNEL_LOCK on if_ioctl selectively based on IFEF_MPSAFE
If IFEF_MPSAFE is set, hold the lock and otherwise don't hold.
This change requires additions of KERNEL_LOCK to subsequence functions from
if_ioctl such as ifmedia_ioctl and ifioctl_common to protect non-MP-safe
components.
Proposed on tech-kern@ and tech-net@
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/kern/sys_socket.c
cvs rdiff -u -r1.398 -r1.399 src/sys/net/if.c
cvs rdiff -u -r1.243 -r1.244 src/sys/net/if.h
cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_media.c
cvs rdiff -u -r1.108 -r1.109 src/sys/net/if_vlan.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