diff options
| author | David S. Miller <[email protected]> | 2023-10-01 18:09:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-10-01 18:09:55 +0000 |
| commit | 2be825ebb9d1b17f1a9e46af78d24b76c4ff7a1f (patch) | |
| tree | 5a49235d004d92fa6330bbeacf24b5252cea032c /net/ipv6/ip6_output.c | |
| parent | openvswitch: reduce stack usage in do_execute_actions (diff) | |
| parent | net: annotate data-races around sk->sk_dst_pending_confirm (diff) | |
| download | kernel-2be825ebb9d1b17f1a9e46af78d24b76c4ff7a1f.tar.gz kernel-2be825ebb9d1b17f1a9e46af78d24b76c4ff7a1f.zip | |
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 <[email protected]>
Diffstat (limited to 'net/ipv6/ip6_output.c')
| -rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 951ba8089b5b..cdaa9275e990 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -1984,7 +1984,7 @@ struct sk_buff *__ip6_make_skb(struct sock *sk, hdr->saddr = fl6->saddr; hdr->daddr = *final_dst; - skb->priority = sk->sk_priority; + skb->priority = READ_ONCE(sk->sk_priority); skb->mark = cork->base.mark; skb->tstamp = cork->base.transmit_time; |
