[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1194442968.4446.8.camel@localhost>
Date: Wed, 07 Nov 2007 08:42:48 -0500
From: jamal <hadi@...erus.ca>
To: David Miller <davem@...emloft.net>
Cc: radu.rendec@...s.ro, jarkao2@...pl, netdev@...r.kernel.org
Subject: Re: Endianness problem with u32 classifier hash masks
On Wed, 2007-07-11 at 01:22 -0800, David Miller wrote:
> @@ -615,7 +615,7 @@ static int u32_change(struct tcf_proto *tp, unsigned long base, u32 handle,
> n->handle = handle;
> {
> u8 i = 0;
> - u32 mask = s->hmask;
> + u32 mask = ntohl(s->hmask);
Is this line needed? Radu?
cheers,
jamal
-
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