Skip to content
Snippets Groups Projects
user avatar
Olivier Matz authored
As it was done in commit 8f659a03 ("net: ipv4: fix for a race
condition in raw_sendmsg") and commit 20b50d79 ("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: default avatarOlivier Matz <olivier.matz@6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
59e3e4b5
History
Name Last commit Last update
..