]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tun: remove unnecessary memory barrier
authorTimur Celik <mail@timurcelik.de>
Mon, 25 Feb 2019 20:13:13 +0000 (21:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Mar 2019 06:10:13 +0000 (07:10 +0100)
commit06e391edd5d03b4598d9c08ffcf0e5a4ddde9a49
tree3cc0ae1c350c9b095a0a2cf5ce183810c7c7f70e
parent820c7f460323fd00c73fa355bca71d0778fee8dd
tun: remove unnecessary memory barrier

[ Upstream commit ecef67cb10db7b83b3b71c61dbb29aa070ab0112 ]

Replace set_current_state with __set_current_state since no memory
barrier is needed at this point.

Signed-off-by: Timur Celik <mail@timurcelik.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/tun.c