diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2015-12-10 11:49:32 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2015-12-10 11:49:32 +0000 |
commit | 9ee7a936965ea7651754a8c8414caf25bff993d9 (patch) | |
tree | fc0064fc2e52503d34f482189ec5860ee54466fb /sys/netinet/sctp_pcb.h | |
parent | 4eb17fd7869c6b304ca701c5c7076ac57c397d9d (diff) |
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
Notes
Notes:
svn path=/head/; revision=292060
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r-- | sys/netinet/sctp_pcb.h | 6 |
1 files changed, 0 insertions, 6 deletions
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__ */ |