diff options
author | trociny <trociny@FreeBSD.org> | 2011-11-06 10:47:20 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2011-11-06 10:47:20 +0000 |
commit | f9135967f2f39cdfec7694004e7e3edd6d8663d9 (patch) | |
tree | ad093059413cfaf1624b1628f762fddc52bbc878 /lib/clang/include/llvm/Config/config.h | |
parent | ddbde914da94b7822affd2f7a4d229a6df022334 (diff) | |
download | FreeBSD-src-f9135967f2f39cdfec7694004e7e3edd6d8663d9.zip FreeBSD-src-f9135967f2f39cdfec7694004e7e3edd6d8663d9.tar.gz |
Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid
inp_socket->so_options dereference when we may not acquire the lock on
the inpcb.
This fixes the crash due to NULL pointer dereference in
in_pcbbind_setup() when inp_socket->so_options in a pcb returned by
in_pcblookup_local() was checked.
Reported by: dave jones <s.dave.jones@gmail.com>, Arnaud Lacombe <lacombar@gmail.com>
Suggested by: rwatson
Glanced by: rwatson
Tested by: dave jones <s.dave.jones@gmail.com>
Diffstat (limited to 'lib/clang/include/llvm/Config/config.h')
0 files changed, 0 insertions, 0 deletions