]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Retire sctp_validate_no_locks().
authortuexen <tuexen@FreeBSD.org>
Thu, 10 Dec 2015 11:49:32 +0000 (11:49 +0000)
committertuexen <tuexen@FreeBSD.org>
Thu, 10 Dec 2015 11:49:32 +0000 (11:49 +0000)
commit0e4efe126f17ff1902997bae65e24b9c7d433360
treefc0064fc2e52503d34f482189ec5860ee54466fb
parentf4f7ae3e2a6ea35712dbcc0a66a82e95cbb9b627
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_input.c
sys/netinet/sctp_output.c
sys/netinet/sctp_pcb.h