mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
af_unix: Cache state->msg in unix_stream_read_generic().
[ Upstream commit8b77338eb2] In unix_stream_read_generic(), state->msg is fetched multiple times. Let's cache it in a local variable. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20250702223606.1054680-6-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of:7bf3a476ce("af_unix: Read sk_peek_offset() again after sleeping in unix_stream_read_generic().") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6ebd02cf2d
commit
232bd2cf50
1 changed files with 17 additions and 16 deletions
Loading…
Add table
Add a link
Reference in a new issue