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,
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to