diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-04-22 16:06:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-22 22:26:02 +0200 |
commit | 57e222475545f457ecf4833db31f156e8b7674c7 (patch) | |
tree | 639a107519bfbe03b9ce987e7fc9e479f1f4cab1 /drivers/net/ethernet/neterion/vxge/vxge-main.h | |
parent | netdevsim: Only use sampling truncation length when valid (diff) | |
download | linux-57e222475545f457ecf4833db31f156e8b7674c7.tar.xz linux-57e222475545f457ecf4833db31f156e8b7674c7.zip |
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/net/ethernet/neterion/vxge/vxge-main.h')
0 files changed, 0 insertions, 0 deletions