mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
sf buf allocation, use wakeup() instead of wakeup_one() to notify sf buffer waiters about free buffer. sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given, and for simultaneous wakeup and signal delivery, msleep() returns EINTR/ERESTART despite the thread was selected for wakeup_one(). As result, we loose a wakeup, and some other waiter will not be woken up. Reported and tested by: az Reviewed by: alc, jhb MFC after: 1 week |
||
|---|---|---|
| .. | ||
| arm | ||
| at91 | ||
| compile | ||
| conf | ||
| econa | ||
| include | ||
| mv | ||
| s3c2xx0 | ||
| sa11x0 | ||
| xscale | ||