Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2018 13:34:46 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336033 - head/sys/netinet
Message-ID:  <201807061334.w66DYk4f089742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Fri Jul  6 13:34:45 2018
New Revision: 336033
URL: https://svnweb.freebsd.org/changeset/base/336033

Log:
  One more 32-bit fix for r335979.
  
  Reported by:	tuexen

Modified:
  head/sys/netinet/sctp_sysctl.c

Modified: head/sys/netinet/sctp_sysctl.c
==============================================================================
--- head/sys/netinet/sctp_sysctl.c	Fri Jul  6 13:31:06 2018	(r336032)
+++ head/sys/netinet/sctp_sysctl.c	Fri Jul  6 13:34:45 2018	(r336033)
@@ -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)) ||



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807061334.w66DYk4f089742>