[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220315105831.77681-1-kuniyu@amazon.co.jp>
Date: Tue, 15 Mar 2022 19:58:31 +0900
From: Kuniyuki Iwashima <kuniyu@...zon.co.jp>
To: <kuniyu@...zon.co.jp>
CC: <Rao.Shoaib@...cle.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <kuni1840@...il.com>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH v2 net] af_unix: Support POLLPRI for OOB.
From: Kuniyuki Iwashima <kuniyu@...zon.co.jp>
Date: Tue, 15 Mar 2022 14:48:01 +0900
> The commit 314001f0bf92 ("af_unix: Add OOB support") introduced OOB for
> AF_UNIX, but it lacks some changes for POLLPRI. Let's add the missing
> piece.
>
> In the selftest, normal datagrams are sent followed by OOB data, so this
> commit replaces `POLLIN|POLLPRI` with just `POLLPRI` in the first test
> case.
>
> v2:
> - Add READ_ONCE() to avoid a race reported by KCSAN (Eric)
> - Add IS_ENABLED(CONFIG_AF_UNIX_OOB) (Shoaib)
>
> v1:
> https://lore.kernel.org/netdev/20220314052110.53634-1-kuniyu@amazon.co.jp/
>
> Fixes: 314001f0bf92 ("af_unix: Add OOB support")
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.co.jp>
Please ignore this version, I'm sorry for distraction.
I will post v3 later with proper annotations.
https://lore.kernel.org/netdev/20220315105246.77468-1-kuniyu@amazon.co.jp/
Best regards,
Kuniyuki
Powered by blists - more mailing lists