Home
last modified time | relevance | path

Searched hist:"57 e22247" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wwan/
H A Dwwan_core.c57e22247 Thu Apr 22 09:06:01 CDT 2021 Loic Poulain <loic.poulain@linaro.org> net: wwan: core: Return poll error in case of port removal

Ensure that the poll system call returns proper error flags when port
is removed (nullified port ops), allowing user side to properly fail,
without further read or write.

Fixes: 9a44c1cc6388 ("net: Add a WWAN subsystem")
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>