[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190221.102055.331192649932336315.davem@davemloft.net>
Date: Thu, 21 Feb 2019 10:20:55 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ubraun@...ux.ibm.com
Cc: netdev@...r.kernel.org, linux-s390@...r.kernel.org,
schwidefsky@...ibm.com, heiko.carstens@...ibm.com,
raspl@...ux.ibm.com
Subject: Re: [PATCH net 1/1] net/smc: fix smc_poll in SMC_INIT state
From: Ursula Braun <ubraun@...ux.ibm.com>
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@...ux.ibm.com>
> Fixes: de8474eb9d50 ("net/smc: urgent data support")
> Signed-off-by: Ursula Braun <ubraun@...ux.ibm.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists