diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-07-02 22:35:17 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-01 11:43:33 +0100 |
| commit | 232bd2cf504c329cb41eac064e2220f27c6d37ba (patch) | |
| tree | 93d0da91cabd7aa2f17edaef720d1ca57a33edcb /include/net/aligned_data.h | |
| parent | 6ebd02cf2dde11b86f89ea4c9f55179eab30d4ee (diff) | |
af_unix: Cache state->msg in unix_stream_read_generic().
[ Upstream commit 8b77338eb2af74bb93986e4a8cfd86724168fe39 ]
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: 7bf3a476ce43 ("af_unix: Read sk_peek_offset() again after sleeping in unix_stream_read_generic().")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
