diff options
author | Daniel Starke <[email protected]> | 2022-07-07 13:32:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-07-08 15:14:53 +0200 |
commit | 7e5b4322cde067e1d0f1bf8f490e93f664a7c843 (patch) | |
tree | dedd8fcee6a8431c32f000862162e37bc1cf73a7 /scripts/gdb/linux/lists.py | |
parent | 59ff0680ecbfec742b1e0381e7cc46b41eb06647 (diff) |
tty: n_gsm: fix missing corner cases in gsmld_poll()
gsmld_poll() currently fails to handle the following corner cases correctly:
- remote party closed the associated tty
Add the missing checks and map those to EPOLLHUP.
Reorder the checks to group them by their reaction.
Fixes: e1eaea46bb40 ("tty: n_gsm line discipline")
Signed-off-by: Daniel Starke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions