]> www.infradead.org Git - users/jedix/linux-maple.git/commit
af_unix: Rename unlinked_skb in manage_oob().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Thu, 5 Sep 2024 19:32:38 +0000 (12:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Sep 2024 00:14:26 +0000 (17:14 -0700)
commitbeb2c5f19b6ab033b187e770a659c730c3bd05ca
treecaeb1d534bcf1b6d1849a0fa12f7e7b8ef191a9a
parent579770dd89855915096db8364261543c37ed34ef
af_unix: Rename unlinked_skb in manage_oob().

When OOB skb has been already consumed, manage_oob() returns the next
skb if exists.  In such a case, we need to fall back to the else branch
below.

Then, we need to keep two skbs and free them later with consume_skb()
and kfree_skb().

Let's rename unlinked_skb accordingly.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20240905193240.17565-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/unix/af_unix.c