sctp: remove unnecessary drops and use precise padding (#381)
* add comments for QUEUE_BYTES_LIMIT and QUEUE_APPEND_LARGE
* remove unnecessary drop(sem_lock)
lock will be dropped automatically
sctp: remove unnecessary drops and use precise padding (#381)
* add comments for QUEUE_BYTES_LIMIT and QUEUE_APPEND_LARGE
* remove unnecessary drop(sem_lock)
lock will be dropped automatically
* use PADDING_MULTIPLE instead of 16
contract: padding_needed <= PADDING_MULTIPLE
Refs https://github.com/webrtc-rs/webrtc/pull/364 and https://github.com/webrtc-rs/webrtc/pull/367
show more ...
|