One more 32-bit fix for r335979.

Reported by:	tuexen
This commit is contained in:
Brooks Davis 2018-07-06 13:34:45 +00:00
parent f295c140cf
commit 5c5e39e3d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336033

View File

@ -409,7 +409,7 @@ sctp_sysctl_handle_assoclist(SYSCTL_HANDLER_ARGS)
xinpcb.total_recvs = inp->total_recvs;
xinpcb.total_nospaces = inp->total_nospaces;
xinpcb.fragmentation_point = inp->sctp_frag_point;
xinpcb.socket = (kvaddr_t)inp->sctp_socket;
xinpcb.socket = (kvaddr_t)(uintptr_t)inp->sctp_socket;
so = inp->sctp_socket;
if ((so == NULL) ||
(!SCTP_IS_LISTENING(inp)) ||