mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Replace comment on spl state when calling soabort() with a comment on
locking state. No socket locks should be held when calling soabort() as it will call into protocol code that may acquire socket locks.
This commit is contained in:
parent
f3617a3396
commit
11c40a39b6
1 changed files with 4 additions and 1 deletions
|
|
@ -426,7 +426,10 @@ discard:
|
|||
}
|
||||
|
||||
/*
|
||||
* Must be called at splnet...
|
||||
* soabort() must not be called with any socket locks held, as it calls
|
||||
* into the protocol, which will call back into the socket code causing
|
||||
* it to acquire additional socket locks that may cause recursion or lock
|
||||
* order reversals.
|
||||
*/
|
||||
int
|
||||
soabort(so)
|
||||
|
|
|
|||
Loading…
Reference in a new issue