diff options
| author | Eric Dumazet <[email protected]> | 2022-05-13 11:55:42 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-16 10:31:06 +0100 |
| commit | a20ea298071f46effa3aaf965bf9bb34c901db3f (patch) | |
| tree | 7a871cb0b15e5e73b3a77b794e29380f3290cb39 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 4c971d2f3548e4f11b1460ac048f5307e4b39fdb (diff) | |
sctp: read sk->sk_bound_dev_if once in sctp_rcv()
sctp_rcv() reads sk->sk_bound_dev_if twice while the socket
is not locked. Another cpu could change this field under us.
Fixes: 0fd9a65a76e8 ("[SCTP] Support SO_BINDTODEVICE socket option on incoming packets.")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: Vlad Yasevich <[email protected]>
Cc: Marcelo Ricardo Leitner <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions