]> 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)
commitc44864efc9bbb16be2f026ccd8af5514cd6ee1c1
tree69cfbea684b26dc300b756eae0366cc4183de22c
parent2339eea4c9f66e9278667974870ebd6913c6b77a
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