diff options
author | David S. Miller <davem@davemloft.net> | 2023-10-01 21:09:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-01 21:09:55 +0300 |
commit | 2be825ebb9d1b17f1a9e46af78d24b76c4ff7a1f (patch) | |
tree | 5a49235d004d92fa6330bbeacf24b5252cea032c /include/net/bluetooth/bluetooth.h | |
parent | 06bc3668cc2a6db2831b9086f0e3c6ebda599dba (diff) | |
parent | eb44ad4e635132754bfbcb18103f1dcb7058aedd (diff) | |
download | linux-2be825ebb9d1b17f1a9e46af78d24b76c4ff7a1f.tar.xz |
Merge branch 'socket-option-lockless'
Eric Dumazet says:
====================
net: more data-races fixes and lockless socket options
This is yet another round of data-races fixes,
and lockless socket options.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index aa90adc3b2a4..7ffa8c192c3f 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -541,7 +541,7 @@ static inline struct sk_buff *bt_skb_sendmsg(struct sock *sk, return ERR_PTR(-EFAULT); } - skb->priority = sk->sk_priority; + skb->priority = READ_ONCE(sk->sk_priority); return skb; } |