svn commit: r321016 - stable/10/sys/kern
Dmitry Chagin
dchagin at FreeBSD.org
Sat Jul 15 16:52:41 UTC 2017
Author: dchagin
Date: Sat Jul 15 16:52:40 2017
New Revision: 321016
URL: https://svnweb.freebsd.org/changeset/base/321016
Log:
Temporarily r284696:
MFC r284613. When using KTRACE, set a variable to the appropriate value
and don't leave it initialized at NULL.
Will MFC it after proper MFC of r272823.
Modified:
stable/10/sys/kern/uipc_syscalls.c
Modified: stable/10/sys/kern/uipc_syscalls.c
==============================================================================
--- stable/10/sys/kern/uipc_syscalls.c Sat Jul 15 16:42:55 2017 (r321015)
+++ stable/10/sys/kern/uipc_syscalls.c Sat Jul 15 16:52:40 2017 (r321016)
@@ -2746,10 +2746,6 @@ sys_sctp_generic_sendmsg (td, uap)
auio.uio_td = td;
auio.uio_offset = 0; /* XXX */
auio.uio_resid = 0;
-#ifdef KTRACE
- if (KTRPOINT(td, KTR_GENIO))
- ktruio = cloneuio(&auio);
-#endif /* KTRACE */
len = auio.uio_resid = uap->mlen;
CURVNET_SET(so->so_vnet);
error = sctp_lower_sosend(so, to, &auio, (struct mbuf *)NULL,
@@ -2873,10 +2869,6 @@ sys_sctp_generic_sendmsg_iov(td, uap)
goto sctp_bad;
}
}
-#ifdef KTRACE
- if (KTRPOINT(td, KTR_GENIO))
- ktruio = cloneuio(&auio);
-#endif /* KTRACE */
len = auio.uio_resid;
CURVNET_SET(so->so_vnet);
error = sctp_lower_sosend(so, to, &auio,
More information about the svn-src-stable
mailing list