Commit ea7f45e
net: annotate data-races around sk->sk_max_pacing_rate
sk_getsockopt() runs locklessly. This means sk->sk_max_pacing_rate
can be read while other threads are changing its value.
Fixes: 62748f3 ("net: introduce SO_MAX_PACING_RATE")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent c76a032 commit ea7f45e
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1439 | 1439 | | |
1440 | 1440 | | |
1441 | 1441 | | |
1442 | | - | |
| 1442 | + | |
| 1443 | + | |
1443 | 1444 | | |
1444 | 1445 | | |
1445 | 1446 | | |
| |||
1903 | 1904 | | |
1904 | 1905 | | |
1905 | 1906 | | |
| 1907 | + | |
1906 | 1908 | | |
1907 | 1909 | | |
1908 | | - | |
| 1910 | + | |
1909 | 1911 | | |
1910 | 1912 | | |
1911 | | - | |
| 1913 | + | |
| 1914 | + | |
1912 | 1915 | | |
1913 | 1916 | | |
1914 | 1917 | | |
| |||
0 commit comments