summaryrefslogtreecommitdiff
path: root/drivers/misc/ibmasm/uart.c
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2019-06-06 10:15:18 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-06 20:29:21 +0300
commit59e3e4b52663a9d97efbce7307f62e4bc5c9ce91 (patch)
tree3b48e72c79b7c16b11ae80721bd9add3bce598fa /drivers/misc/ibmasm/uart.c
parent4970b42d5c362bf873982db7d93245c5281e58f4 (diff)
downloadlinux-59e3e4b52663a9d97efbce7307f62e4bc5c9ce91.tar.xz
ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
As it was done in commit 8f659a03a0ba ("net: ipv4: fix for a race condition in raw_sendmsg") and commit 20b50d79974e ("net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()") for ipv4, copy the value of inet->hdrincl in a local variable, to avoid introducing a race condition in the next commit. Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/ibmasm/uart.c')
0 files changed, 0 insertions, 0 deletions