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 /net/sctp/ipv6.c | |
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 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 5c0ed5909d85..24368f755ab1 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c @@ -247,7 +247,7 @@ static int sctp_v6_xmit(struct sk_buff *skb, struct sctp_transport *t) rcu_read_lock(); res = ip6_xmit(sk, skb, fl6, sk->sk_mark, rcu_dereference(np->opt), - tclass, sk->sk_priority); + tclass, READ_ONCE(sk->sk_priority)); rcu_read_unlock(); return res; } |