Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2013 00:44:37 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253537 - head/sys/kern
Message-ID:  <201307220044.r6M0ibWR002015@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Mon Jul 22 00:44:37 2013
New Revision: 253537
URL: http://svnweb.freebsd.org/changeset/base/253537

Log:
  Remove duplicate assertion from tdsendsignal.
  
  MFC after:	2 weeks

Modified:
  head/sys/kern/kern_sig.c

Modified: head/sys/kern/kern_sig.c
==============================================================================
--- head/sys/kern/kern_sig.c	Sun Jul 21 23:10:45 2013	(r253536)
+++ head/sys/kern/kern_sig.c	Mon Jul 22 00:44:37 2013	(r253537)
@@ -2063,10 +2063,8 @@ tdsendsignal(struct proc *p, struct thre
 	if (td == NULL) {
 		td = sigtd(p, sig, prop);
 		sigqueue = &p->p_sigqueue;
-	} else {
-		KASSERT(td->td_proc == p, ("invalid thread"));
+	} else
 		sigqueue = &td->td_sigqueue;
-	}
 
 	SDT_PROBE(proc, kernel, , signal_send, td, p, sig, 0, 0 );
 



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