mirror of https://github.com/torvalds/linux.git
syzbot reported another data-race in af_unix [1] Lets change __skb_insert() to use WRITE_ONCE() when changing skb head qlen. Also, change unix_dgram_poll() to use lockless version of unix_recvq_full() It is verry possible we can switch all/most unix_recvq_full() to the lockless version, this will be done in a future kernel version. [1] HEAD commit: |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| af_unix.c | ||
| diag.c | ||
| garbage.c | ||
| scm.c | ||
| scm.h | ||
| sysctl_net_unix.c | ||
| unix_bpf.c | ||