diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2021-10-08 19:56:24 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2021-10-13 17:04:46 +0000 |
commit | 2144431c11529d1107f4440a5fe57559fb20002c (patch) | |
tree | 1f6dcd9f4a6e3bd0abc7f0f706488406733c52a4 /sys/kern/uipc_ktls.c | |
parent | 03d5820f738de130b2feb66833f18741b7f92a14 (diff) | |
download | src-2144431c11529d1107f4440a5fe57559fb20002c.tar.gz src-2144431c11529d1107f4440a5fe57559fb20002c.zip |
Remove in_ifaddr_lock acquisiton to access in_ifaddrhead.
An IPv4 address is embedded into an ifaddr which is freed
via epoch. And the in_ifaddrhead is already a CK list. Use
the network epoch to protect against use after free.
Next step would be to CK-ify the in_addr hash and get rid of the...
Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D32434
Diffstat (limited to 'sys/kern/uipc_ktls.c')
0 files changed, 0 insertions, 0 deletions