diff options
| author | Simon Rettberg | 2025-04-15 16:46:04 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2025-04-15 17:31:20 +0200 |
| commit | a853b643bdfdd15d4bcf1e188ba7fb56362520a2 (patch) | |
| tree | 12270d3f9583e476782bed6863c156362114d33e /src/kernel/sysfs.c | |
| parent | README: Add curl-devel for CentOS-based requirements (diff) | |
| download | dnbd3-a853b643bdfdd15d4bcf1e188ba7fb56362520a2.tar.gz dnbd3-a853b643bdfdd15d4bcf1e188ba7fb56362520a2.tar.xz dnbd3-a853b643bdfdd15d4bcf1e188ba7fb56362520a2.zip | |
[KERNEL] Check if reply size matches request
Output according messages and abort connection if
the reply didn't contain exactly as many bytes as
requested, instead of going on and running into
desync with the reply stream from the server, which
would just give us confusing messages about header
magic mismatch.
Diffstat (limited to 'src/kernel/sysfs.c')
0 files changed, 0 insertions, 0 deletions
