Author: jhb Date: Thu Dec 1 23:27:59 2016 New Revision: 309376 URL: https://svnweb.freebsd.org/changeset/base/309376
Log: MFC 304838: Do not free an uninitialized pointer on soaccept failure in the iWARP connection manager. Sponsored by: Chelsio Communications Modified: stable/11/sys/ofed/drivers/infiniband/core/iwcm.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/ofed/drivers/infiniband/core/iwcm.c ============================================================================== --- stable/11/sys/ofed/drivers/infiniband/core/iwcm.c Thu Dec 1 22:22:19 2016 (r309375) +++ stable/11/sys/ofed/drivers/infiniband/core/iwcm.c Thu Dec 1 23:27:59 2016 (r309376) @@ -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); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"