BUG/MEDIUM: mux-spop: let the buffer callback allocate despite the queue
spop_buf_available() is called by offer_buffers() while the spop_conn is
still in the buffer wait queue. Since commit
d1eb48a12 ("MEDIUM: dynbuf:
refrain from offering a buffer if more critical ones are waiting"),
b_alloc() refuses to allocate when the queue of the same or of a more
critical level is not empty, unless DB_F_NOQUEUE is passed. As the spop_conn
is queued with DB_MUX_RX, the demux buffer allocation always fails from
the callback, and the connection remains blocked until it times out.
This was reproduced by faking a failed demux buffer allocation when
receiving the agent's reply: the SPOE processing times out.
Let's pass DB_F_NOQUEUE to the allocations made from the callback, as
was done for mux-h2 in commit
d7192a667 ("BUG/MEDIUM: mux-h2: permit the
buffer callback to allocate despite the queue").
The issue comes from the commit above, and mux-spop is affected since
it was introduced in 3.1. This must be backported to 3.1.