Re: [PATCH v2] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-09 Thread David Miller
From: Nicolai Stange Date: Mon, 8 Jan 2018 15:54:44 +0100 > Commit 8f659a03a0ba ("net: ipv4: fix for a race condition in > raw_sendmsg") fixed the issue of possibly inconsistent ->hdrincl handling > due to concurrent updates by reading this bit-field member into a local >

Re: [PATCH v2] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-09 Thread David Miller
From: Nicolai Stange Date: Mon, 8 Jan 2018 15:54:44 +0100 > Commit 8f659a03a0ba ("net: ipv4: fix for a race condition in > raw_sendmsg") fixed the issue of possibly inconsistent ->hdrincl handling > due to concurrent updates by reading this bit-field member into a local > variable and using the

Re: [PATCH v2] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-08 Thread Stefano Brivio
On Mon, 8 Jan 2018 15:54:44 +0100 Nicolai Stange wrote: > Commit 8f659a03a0ba ("net: ipv4: fix for a race condition in > raw_sendmsg") fixed the issue of possibly inconsistent ->hdrincl handling > due to concurrent updates by reading this bit-field member into a local >

Re: [PATCH v2] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-08 Thread Stefano Brivio
On Mon, 8 Jan 2018 15:54:44 +0100 Nicolai Stange wrote: > Commit 8f659a03a0ba ("net: ipv4: fix for a race condition in > raw_sendmsg") fixed the issue of possibly inconsistent ->hdrincl handling > due to concurrent updates by reading this bit-field member into a local > variable and using the

[PATCH v2] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-08 Thread Nicolai Stange
Commit 8f659a03a0ba ("net: ipv4: fix for a race condition in raw_sendmsg") fixed the issue of possibly inconsistent ->hdrincl handling due to concurrent updates by reading this bit-field member into a local variable and using the thus stabilized value in subsequent tests. However, aforementioned

[PATCH v2] net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()

2018-01-08 Thread Nicolai Stange
Commit 8f659a03a0ba ("net: ipv4: fix for a race condition in raw_sendmsg") fixed the issue of possibly inconsistent ->hdrincl handling due to concurrent updates by reading this bit-field member into a local variable and using the thus stabilized value in subsequent tests. However, aforementioned