NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/53036 CVS commit: src/sys/dist/pf/net



The following reply was made to PR kern/53036; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, alnsn%NetBSD.org@localhost
Cc: 
Subject: Re: PR/53036 CVS commit: src/sys/dist/pf/net
Date: Sun, 18 Feb 2018 20:29:07 -0500

 On Feb 19, 12:20am, alnsn%yandex.ru@localhost (Alexander Nasonov) wrote:
 -- Subject: Re: PR/53036 CVS commit: src/sys/dist/pf/net
 
 How about adding this?
 
 christos
 
 Index: uipc_socket2.c
 ===================================================================
 RCS file: /cvsroot/src/sys/kern/uipc_socket2.c,v
 retrieving revision 1.126
 diff -u -u -r1.126 uipc_socket2.c
 --- uipc_socket2.c	6 Jul 2017 17:42:39 -0000	1.126
 +++ uipc_socket2.c	19 Feb 2018 01:27:55 -0000
 @@ -356,6 +356,8 @@
  	}
  	KASSERT(solocked2(head, so));
  
 +	so->so_cred = kauth_cred_dup(head->so_cred);
 +
  	/*
  	 * Insert into the queue.  If ready, update the connection status
  	 * and wake up any waiters, e.g. processes blocking on accept().
 


Home | Main Index | Thread Index | Old Index