mptcp: Consistently use READ_ONCE/WRITE_ONCE with msk->ack_seq
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 29 Sep 2020 22:08:19 +0000 (15:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 01:15:40 +0000 (18:15 -0700)
commit917944da3bfc7cb5ac3af26725af3371d3a12db0
tree69cfbea684b26dc300b756eae0366cc4183de22c
parent4972c6ccf9a5f25bd0c877683cea5c1dc16669be
mptcp: Consistently use READ_ONCE/WRITE_ONCE with msk->ack_seq

The msk->ack_seq value is sometimes read without the msk lock held, so
make proper use of READ_ONCE and WRITE_ONCE.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c
net/mptcp/protocol.c