mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 14:31:48 +01:00
Use the address of the inpcb rather than the tcpcb to identify TCP
connections. This keeps the tcp provider consistent with the other network providers. Approved by: re (delphij)
This commit is contained in:
parent
5a92968ca6
commit
9feec372db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255604
@ -144,7 +144,7 @@ typedef struct tcpinfo {
|
||||
#pragma D binding "1.0" translator
|
||||
translator csinfo_t < struct tcpcb *p > {
|
||||
cs_addr = NULL;
|
||||
cs_cid = (uint64_t)p;
|
||||
cs_cid = (uint64_t)(p == NULL ? 0 : p->t_inpcb);
|
||||
cs_pid = 0;
|
||||
cs_zoneid = 0;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user