summaryrefslogtreecommitdiff
path: root/net/mpls/Kconfig
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2019-06-06 09:15:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 12:21:46 +0200
commitee6e0cec59b37e2ce8ec0676d57ffa34e996455b (patch)
tree6d9e3ec4fa6f9591136bdeff0b6b1f73e78f14a4 /net/mpls/Kconfig
parent4b83a95655b800350281421f0e64c6d17b3d18db (diff)
ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
[ Upstream commit 59e3e4b52663a9d97efbce7307f62e4bc5c9ce91 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mpls/Kconfig')
0 files changed, 0 insertions, 0 deletions