diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-04-22 17:06:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-22 23:26:02 +0300 |
commit | 57e222475545f457ecf4833db31f156e8b7674c7 (patch) | |
tree | 639a107519bfbe03b9ce987e7fc9e479f1f4cab1 /drivers/pps | |
parent | a9b5d871abc417cf65a05a9ba50c6b81a6e427eb (diff) | |
download | linux-57e222475545f457ecf4833db31f156e8b7674c7.tar.xz |
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>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions