[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161022.162412.770873082924010369.davem@davemloft.net>
Date: Sat, 22 Oct 2016 16:24:12 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, salo@...gle.com
Subject: Re: [Patch net] ipv4: use the right lock for ping_group_range
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Thu, 20 Oct 2016 14:19:46 -0700
> This reverts commit a681574c99be23e4d20b769bf0e543239c364af5
> ("ipv4: disable BH in set_ping_group_range()") because we never
> read ping_group_range in BH context (unlike local_port_range).
>
> Then, since we already have a lock for ping_group_range, those
> using ip_local_ports.lock for ping_group_range are clearly typos.
>
> We might consider to share a same lock for both ping_group_range
> and local_port_range w.r.t. space saving, but that should be for
> net-next.
>
> Fixes: a681574c99be ("ipv4: disable BH in set_ping_group_range()")
> Fixes: ba6b918ab234 ("ping: move ping_group_range out of CONFIG_SYSCTL")
> Cc: Eric Dumazet <edumazet@...gle.com>
> Cc: Eric Salo <salo@...gle.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists