Commit 9905eed
committed
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 314001f ("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>2 files changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2084 | 2084 | | |
2085 | 2085 | | |
2086 | 2086 | | |
2087 | | - | |
| 2087 | + | |
2088 | 2088 | | |
2089 | 2089 | | |
2090 | 2090 | | |
| |||
2602 | 2602 | | |
2603 | 2603 | | |
2604 | 2604 | | |
2605 | | - | |
2606 | | - | |
2607 | | - | |
| 2605 | + | |
| 2606 | + | |
2608 | 2607 | | |
2609 | 2608 | | |
2610 | 2609 | | |
| |||
2639 | 2638 | | |
2640 | 2639 | | |
2641 | 2640 | | |
2642 | | - | |
| 2641 | + | |
2643 | 2642 | | |
2644 | 2643 | | |
2645 | 2644 | | |
| |||
3094 | 3093 | | |
3095 | 3094 | | |
3096 | 3095 | | |
3097 | | - | |
3098 | 3096 | | |
3099 | 3097 | | |
3100 | 3098 | | |
3101 | | - | |
| 3099 | + | |
3102 | 3100 | | |
3103 | 3101 | | |
3104 | 3102 | | |
| |||
3139 | 3137 | | |
3140 | 3138 | | |
3141 | 3139 | | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
3142 | 3144 | | |
3143 | 3145 | | |
3144 | 3146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
| 221 | + | |
| 222 | + | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
0 commit comments