OSDN Git Service

Merge branch 'af_unix-OOB-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Mar 2022 13:30:53 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Mar 2022 13:30:53 +0000 (13:30 +0000)
Kuniyuki Iwashima says:

====================
af_unix: Fix some OOB implementation.

This series fixes some data-races and adds a missing feature around the
commit 314001f0bf92 ("af_unix: Add OOB support").

Changelog:
  - v3:
    - Add the first patch

  - v2: https://lore.kernel.org/netdev/20220315054801.72035-1-kuniyu@amazon.co.jp/
    - 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/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge