Re: [PATCH v3] sock: Make sock->sk_stamp thread-safe

2019-01-01 Thread David Miller
From: Deepa Dinamani Date: Thu, 27 Dec 2018 18:55:09 -0800 > Al Viro mentioned (Message-ID > <20170626041334.gz10...@zeniv.linux.org.uk>) > that there is probably a race condition > lurking in accesses of sk_stamp on 32-bit machines. > > sock->sk_stamp is of type ktime_t which is always an s64.

[PATCH v3] sock: Make sock->sk_stamp thread-safe

2018-12-27 Thread Deepa Dinamani
Al Viro mentioned (Message-ID <20170626041334.gz10...@zeniv.linux.org.uk>) that there is probably a race condition lurking in accesses of sk_stamp on 32-bit machines. sock->sk_stamp is of type ktime_t which is always an s64. On a 32 bit architecture, we might run into situations of unsafe access a