]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a54eb189de957078ac0cd8b64c3c16db1a88e5c
tree69cfbea684b26dc300b756eae0366cc4183de22c
parente5170a3d69ebf931ed7bda7397faeffade06c668
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