diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2017-03-21 09:07:05 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2017-03-21 09:07:05 +0000 |
commit | 817e1ad9d068c6cdbc3dbcfb5dd931221dffa74b (patch) | |
tree | a52fd9915e1eac5534dcd4b39e6b5729a9d4919b /sys/ofed | |
parent | bf40d2ca687a4e7b13358a8ad161518d54441072 (diff) | |
download | src-817e1ad9d068c6cdbc3dbcfb5dd931221dffa74b.tar.gz src-817e1ad9d068c6cdbc3dbcfb5dd931221dffa74b.zip |
Make sdp compilable after r315662.
Notes
Notes:
svn path=/head/; revision=315672
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c index 6637aa528620..f822466e4abc 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c @@ -1859,12 +1859,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.xt_tp.t_state = ssk->state; + xt.t_state = ssk->state; if (ssk->socket != NULL) - sotoxsocket(ssk->socket, &xt.xt_socket); - else - bzero(&xt.xt_socket, sizeof xt.xt_socket); - xt.xt_socket.xso_protocol = IPPROTO_TCP; + sotoxsocket(ssk->socket, &xt.xt_inp.xi_socket); + xt.xt_inp.xi_socket.xso_protocol = IPPROTO_TCP; SDP_RUNLOCK(ssk); error = SYSCTL_OUT(req, &xt, sizeof xt); if (error) |