[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141209.131843.1036852937243395534.davem@davemloft.net>
Date: Tue, 09 Dec 2014 13:18:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: duanj.fnst@...fujitsu.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next v2] ipv6: remove useless spin_lock/spin_unlock
From: Duan Jiong <duanj.fnst@...fujitsu.com>
Date: Wed, 3 Dec 2014 10:29:40 +0800
> xchg is atomic, so there is no necessary to use spin_lock/spin_unlock
> to protect it. At last, remove the redundant
> opt = xchg(&inet6_sk(sk)->opt, opt); statement.
>
> Signed-off-by: Duan Jiong <duanj.fnst@...fujitsu.com>
> ---
> v2: remove the redundant opt = xchg(&inet6_sk(sk)->opt, opt); statement.
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists