Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754485Ab0LHIxP (ORCPT ); Wed, 8 Dec 2010 03:53:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35624 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072Ab0LHIxO (ORCPT ); Wed, 8 Dec 2010 03:53:14 -0500 Message-ID: <4CFF4766.9010909@redhat.com> Date: Wed, 08 Dec 2010 16:52:54 +0800 From: Cong Wang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 MIME-Version: 1.0 To: Changli Gao CC: linux-kernel@vger.kernel.org, Jiri Pirko , Neil Horman , netdev@vger.kernel.org, "David S. Miller" , "Eric W. Biederman" , Herbert Xu , bonding-devel@lists.sourceforge.net, Jay Vosburgh , Stephen Hemminger Subject: Re: [v3 PATCH 2/2] netpoll: remove IFF_IN_NETPOLL flag References: <20101208075208.5792.45247.sendpatchset@localhost.localdomain> <20101208075218.5792.64791.sendpatchset@localhost.localdomain> <4CFF437D.1060904@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 19 On 12/08/10 16:49, Changli Gao wrote: > On Wed, Dec 8, 2010 at 4:36 PM, Cong Wang wrote: >> >> A few lines above that code said: >> >> /* Private (from user) interface flags (netdevice->priv_flags). */ >> >> unless this comment is wrong, we don't need to worry. >> > > It seems these macros are exported to user space wrongly. > Maybe we should add #ifdef __KERNEL__ to protect them, I think. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/