[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100629.151740.135534374.davem@davemloft.net>
Date: Tue, 29 Jun 2010 15:17:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sebastian@...akpoint.cc
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net/core: use htons for skb->protocol
From: Sebastian Andrzej Siewior <sebastian@...akpoint.cc>
Date: Tue, 29 Jun 2010 18:32:46 +0200
> From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
>
> This is only noticed by people that are not doing everything correct in
> the first place.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
It's in network byte order so you should use ntohs().
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists