aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/CoreEngine.cpp
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-04-21 14:31:18 +0000
committerMark Johnston <markj@FreeBSD.org>2026-04-21 16:13:19 +0000
commit69e8d8b49d4bd889a42ba354f290f05d88bcd4b1 (patch)
treedea90aac66819fa7fd60432f4e1a01e02ace14e4 /lib/StaticAnalyzer/Core/CoreEngine.cpp
parent30b7621d46cc06053c0cb40bb691fbcecbfdab7f (diff)
tests/sys/netinet/tcp_hpts: Make a socket available in mock inpcbsHEADmain
After commit 9b76228006d8, tcp_hptsi() dereferences inp_socket in order to get the inpcb's VNET. This means that mock inpcbs created by the HPTS test fixture must set inp_socket. Also set the current VNET there; previously, it was NULL, and this was not noticed since VNET_DEBUG is disabled even in debug kernels. Fixes: 9b76228006d8 ("inpcb: retire inp_vnet")
Diffstat (limited to 'lib/StaticAnalyzer/Core/CoreEngine.cpp')
0 files changed, 0 insertions, 0 deletions