diff options
author | tuexen <tuexen@FreeBSD.org> | 2016-01-17 12:18:01 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2016-01-17 12:18:01 +0000 |
commit | 2c9e1a88dc9d311bcede80648189f2024c1dc4f1 (patch) | |
tree | b16de836b96f3e94110236d3e9b9e060e3c115ed /sys/netinet/sctp_pcb.h | |
parent | 70ab0ed557e2bfba1ee7f7e04ef56422a59c1d78 (diff) | |
download | FreeBSD-src-2c9e1a88dc9d311bcede80648189f2024c1dc4f1.zip FreeBSD-src-2c9e1a88dc9d311bcede80648189f2024c1dc4f1.tar.gz |
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+.
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 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__ */ |