diff options
author | 2025-03-17 06:51:06 +0900 | |
---|---|---|
committer | 2025-03-19 21:20:25 +0900 | |
commit | ad6d4558a7112af9e5f6727ac24fd8cd17469739 (patch) | |
tree | cf8fcb4b843327fd37d10c90cda6398d06f66313 /net/lapb/lapb_timer.c | |
parent | 9p/net: fix improper handling of bogus negative read/write replies (diff) | |
download | wireguard-linux-ad6d4558a7112af9e5f6727ac24fd8cd17469739.tar.xz wireguard-linux-ad6d4558a7112af9e5f6727ac24fd8cd17469739.zip |
9p/net: return error on bogus (longer than requested) replies
Up until now we've been considering longer than requested replies as
acceptable, printing a message and just truncating the data,
but it makes more sense to consider these an error.
Make these fail with EIO instead.
Suggested-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Message-ID: <20250317-p9_bogus_io_error-v1-1-9639f6d1561f@codewreck.org>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions