svn commit: r331667 - projects/bsd_rdma_4_9_stable_11/sys/ofed/drivers/infiniband/ulp/sdp

Hans Petter Selasky hselasky at FreeBSD.org
Wed Mar 28 08:58:33 UTC 2018


Author: hselasky
Date: Wed Mar 28 08:58:32 2018
New Revision: 331667
URL: https://svnweb.freebsd.org/changeset/base/331667

Log:
  Revert r315672 from SDP.
  This change is not yet available in 11-stable.
  
  Sponsored by:	Mellanox Technologies

Modified:
  projects/bsd_rdma_4_9_stable_11/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c

Modified: projects/bsd_rdma_4_9_stable_11/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
==============================================================================
--- projects/bsd_rdma_4_9_stable_11/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c	Wed Mar 28 08:55:31 2018	(r331666)
+++ projects/bsd_rdma_4_9_stable_11/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c	Wed Mar 28 08:58:32 2018	(r331667)
@@ -1848,10 +1848,10 @@ sdp_pcblist(SYSCTL_HANDLER_ARGS)
 		xt.xt_inp.inp_lport = ssk->lport;
 		memcpy(&xt.xt_inp.inp_faddr, &ssk->faddr, sizeof(ssk->faddr));
 		xt.xt_inp.inp_fport = ssk->fport;
-		xt.t_state = ssk->state;
+		xt.xt_tp.t_state = ssk->state;
 		if (ssk->socket != NULL)
-			sotoxsocket(ssk->socket, &xt.xt_inp.xi_socket);
-		xt.xt_inp.xi_socket.xso_protocol = IPPROTO_TCP;
+			sotoxsocket(ssk->socket, &xt.xt_socket);
+		xt.xt_socket.xso_protocol = IPPROTO_TCP;
 		SDP_RUNLOCK(ssk);
 		error = SYSCTL_OUT(req, &xt, sizeof xt);
 		if (error)


More information about the svn-src-projects mailing list