[PATCH 1/2] nsiproxy.sys: Avoid redundant pid mapping in tcp_conns_enumerate_all().
Huw Davies
huw at codeweavers.com
Wed Mar 23 04:09:25 CDT 2022
On Tue, Mar 22, 2022 at 09:54:49PM +0300, Paul Gofman wrote:
> @@ -649,7 +652,7 @@ static NTSTATUS tcp_conns_enumerate_all( DWORD filter, struct nsi_tcp_conn_key *
> if (len <= sizeof(struct xinpgen)) goto err;
>
> addr_scopes = get_ipv6_addr_scope_table( &addr_scopes_size );
> - pid_map = get_pid_map( &pid_map_size );
> + if (class >= TCP_TABLE_OWNER_PID_LISTENER) pid_map = get_pid_map( &pid_map_size );
>
Hi Paul,
This doesn't build on macOS. I've sent in v2 with a fix and also
changed [2/2] a little.
Thanks,
Huw.
More information about the wine-devel
mailing list