From: Ursula Braun <ubraun@xxxxxxxxxxxxx> Date: Thu, 21 Feb 2019 12:56:54 +0100 > smc_poll() returns with mask bit EPOLLPRI if the connection urg_state > is SMC_URG_VALID. Since SMC_URG_VALID is zero, smc_poll signals > EPOLLPRI errorneously if called in state SMC_INIT before the connection > is created, for instance in a non-blocking connect scenario. > > This patch switches to non-zero values for the urg states. > > Reviewed-by: Karsten Graul <kgraul@xxxxxxxxxxxxx> > Fixes: de8474eb9d50 ("net/smc: urgent data support") > Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxx> Applied and queued up for -stable.