BUG/MEDIUM: mux_pt: Only call the wake emthod if nobody subscribed to receive.
authorOlivier Houchard <cognet@ci0.org>
Fri, 18 Oct 2019 12:18:29 +0000 (14:18 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 18 Oct 2019 12:18:29 +0000 (14:18 +0200)
commit2ed389dc6e27257997f83e3f22cb6bf8898a2a5a
treefa595309a9f0551f001fe0582a0d8e1fc6906e4f
parentea510fc5e7cf8ead040253869160b0d2266ce65f
BUG/MEDIUM: mux_pt: Only call the wake emthod if nobody subscribed to receive.

In mux_pt_io_cb(), instead of always calling the wake method, only do so
if nobody subscribed for receive. If we have a subscription, just wake the
associated tasklet up.

This should be backported to 1.9 and 2.0.
src/mux_pt.c