From 9ee7a936965ea7651754a8c8414caf25bff993d9 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Thu, 10 Dec 2015 11:49:32 +0000 Subject: Retire sctp_validate_no_locks(). This routine checks that there are no locks held for an inp, without having any lock on the inp. This breaks if the inp goes away when it is called. This happens on stress tests on a RPi B+. MFC after: 3 days --- sys/netinet/sctp_pcb.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/netinet/sctp_pcb.h') diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index ff6ccc56c59a..165ef3b45813 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -654,11 +654,5 @@ void #endif -#ifdef INVARIANTS -void - sctp_validate_no_locks(struct sctp_inpcb *inp); - -#endif - #endif /* _KERNEL */ #endif /* !__sctp_pcb_h__ */ -- cgit v1.2.3