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)
commit9905eed48e82dfe265e2b9e57f19f8e0d1b7d0d7
treee3b8f4e40775f0b6d0c8113991565c7d77bee4f7
parent4219196d1f662cb10a462eb9e076633a3fc31a15
parentd9a232d435dcc966738b0f414a86f7edf4f4c8c4
Merge branch 'af_unix-OOB-fixes'

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>