From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: BUG: scheduling while atomic dev_set_promiscuity->__dev_notify_flags Date: Wed, 23 Oct 2013 03:53:56 +0000 (UTC) Message-ID: References: To: netdev@vger.kernel.org Return-path: Received: from plane.gmane.org ([80.91.229.3]:54175 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754353Ab3JWDyS (ORCPT ); Tue, 22 Oct 2013 23:54:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYpWS-0003yD-Uc for netdev@vger.kernel.org; Wed, 23 Oct 2013 05:54:16 +0200 Received: from c-67-169-68-218.hsd1.ca.comcast.net ([67.169.68.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 05:54:16 +0200 Received: from xiyou.wangcong by c-67-169-68-218.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 05:54:16 +0200 Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 22 Oct 2013 at 01:04 GMT, Alexei Starovoitov wrote: > > packet_notifier() does rcu_read_lock() before calling into packet_dev_mc() . > > Not sure how to fix it cleanly, other than disabling a notify here. > Any suggestion? > Passing a gfp flag to rtmsg_ifinfo() seems a right fix for me, but I don't know if there is other better way to fix it.