From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753479Ab3FCIxH (ORCPT ); Mon, 3 Jun 2013 04:53:07 -0400 Received: from intranet.asianux.com ([58.214.24.6]:64492 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752884Ab3FCIxD (ORCPT ); Mon, 3 Jun 2013 04:53:03 -0400 X-Spam-Score: -100.8 Message-ID: <51AC593E.4070503@asianux.com> Date: Mon, 03 Jun 2013 16:52:14 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Ben Hutchings CC: edumazet@google.com, Pravin Shelar , mgorman@suse.de, David Miller , Andrew Morton , "linux-kernel@vger.kernel.org" , netdev Subject: Re: [PATCH] include/linux/skbuff.h: using '0xffff' instead of '~0U' References: <51A6EBC5.7040601@asianux.com> <1369927806.2414.2.camel@bwh-desktop.uk.level5networks.com> In-Reply-To: <1369927806.2414.2.camel@bwh-desktop.uk.level5networks.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/30/2013 11:30 PM, Ben Hutchings wrote: > On Thu, 2013-05-30 at 14:03 +0800, Chen Gang wrote: >> > Both 'transport_header' and 'mac_header' are u16, which are never equal >> > to '~0U'. >> > >> > So need use '0xffff' instead of '~0U'. > ..and give this magic number a name? It sounds a good idea. I will check which name is suitable for it, then send patch v2, and please help to check it, too. Thanks. -- Chen Gang Asianux Corporation