ustream: prevent recursive calls to the read callback master
authorFelix Fietkau <nbd@nbd.name>
Fri, 29 Mar 2024 09:23:28 +0000 (10:23 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Mar 2024 12:59:21 +0000 (13:59 +0100)
commiteb9bcb64185ac155c02cc1a604692c4b00368324
tree0c9021b730d9a94e51640b781e2fd0c175ebd804
parent12bda4bdb1971385fd787737e8eec5a2eeb0deed
ustream: prevent recursive calls to the read callback

Simplifies stacked ustreams and calling poll from the read function.
Reuse an unused leftover struct member in order to not break ABI.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
ustream.c
ustream.h