diff options
author | Mikhail Zaslonko <[email protected]> | 2023-01-26 14:14:28 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-02-02 22:50:09 -0800 |
commit | f65c35d3336ec8c7af6e12b7fd15acfb4b8e9ffa (patch) | |
tree | cb56b49f8705795624f5f01ec369e657d87c297c /net/unix/af_unix.c | |
parent | 9010dbc007b853ed55905e40fa8e9d39fcb75935 (diff) |
lib/zlib: DFLTCC always switch to software inflate for Z_PACKET_FLUSH option
Since hardware inflate does not support Z_PACKET_FLUSH option (used
exclusively by kernel PPP driver), always switch to software like we
already do for Z_BLOCK flush option. Without this patch, PPP might get
Z_DATA_ERROR return code from zlib_inflate() and disable zlib compression
for the packets.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mikhail Zaslonko <[email protected]>
Acked-by: Ilya Leoshkevich <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions