From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH net] ipv4: disable BH in set_ping_group_range() Date: Thu, 20 Oct 2016 12:40:07 -0700 Message-ID: References: <1476984408.7065.21.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: David Miller , netdev , Eric Salo To: Eric Dumazet Return-path: Received: from mail-it0-f46.google.com ([209.85.214.46]:38170 "EHLO mail-it0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756531AbcJTTke (ORCPT ); Thu, 20 Oct 2016 15:40:34 -0400 Received: by mail-it0-f46.google.com with SMTP id 66so108689922itl.1 for ; Thu, 20 Oct 2016 12:40:34 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Oct 20, 2016 at 12:32 PM, Cong Wang wrote: > On Thu, Oct 20, 2016 at 10:26 AM, Eric Dumazet wrote: >> From: Eric Dumazet >> >> In commit 4ee3bd4a8c746 ("ipv4: disable BH when changing ip local port >> range") Cong added BH protection in set_local_port_range() but missed >> that same fix was needed in set_ping_group_range() > > Don't know why ping_group_range shares the same lock with local_port_range... > Perhaps just for saving a few bytes, but that is why I missed this place. Hold on... We clearly have typos there... Your fix is not correct.