Do not free an uninitialized pointer on soaccept failure in the iWARP
connection manager. Sponsored by: Chelsio Communications
This commit is contained in:
parent
91843cf34e
commit
a5234e8ccb
@ -438,6 +438,7 @@ dequeue_socket(struct socket *head)
|
||||
so->so_state |= SS_NBIO;
|
||||
SOCK_UNLOCK(so);
|
||||
ACCEPT_UNLOCK();
|
||||
remote = NULL;
|
||||
soaccept(so, (struct sockaddr **)&remote);
|
||||
|
||||
free(remote, M_SONAME);
|
||||
|
Loading…
x
Reference in New Issue
Block a user