forked from Imagelibrary/rtems
libnetworking: Avoid spurious event delivery
The so_pgid field contains the task identifier if this task waits for the SOSLEEP_EVENT event. Do not inherit this from the accept socket.
This commit is contained in:
@@ -226,7 +226,6 @@ sonewconn1(struct socket *head, int connstatus)
|
||||
so->so_state = head->so_state | SS_NOFDREF;
|
||||
so->so_proto = head->so_proto;
|
||||
so->so_timeo = head->so_timeo;
|
||||
so->so_pgid = head->so_pgid;
|
||||
so->so_uid = head->so_uid;
|
||||
(void) soreserve(so, head->so_snd.sb_hiwat, head->so_rcv.sb_hiwat);
|
||||
if (connstatus) {
|
||||
|
||||
Reference in New Issue
Block a user