From 2c9e1a88dc9d311bcede80648189f2024c1dc4f1 Mon Sep 17 00:00:00 2001 From: tuexen Date: Sun, 17 Jan 2016 12:18:01 +0000 Subject: MFC r292060: 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+. --- 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 ff6ccc5..165ef3b 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.1