[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1222148718.16003.1.camel@brick>
Date: Mon, 22 Sep 2008 22:45:18 -0700
From: Harvey Harrison <harvey.harrison@...il.com>
To: Willy Tarreau <w@....eu>
Cc: David Miller <davem@...emloft.net>, nickolay@...tei.ru,
linux-kernel@...r.kernel.org, linux-sctp@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: SCTP checksum patch for 2.6.26.5
On Tue, 2008-09-23 at 07:19 +0200, Willy Tarreau wrote:
> On Mon, Sep 22, 2008 at 01:12:45PM -0700, David Miller wrote:
> > From: Nickolay Vinogradov <nickolay@...tei.ru>
> > Date: Mon, 22 Sep 2008 19:58:26 +0400
> >
> > CC:'ing correct mailing lists...
> >
> Nickolay,
>
> you should use swab32(~crc32) instead. It will make use of arch-specific
> optimisations when available (eg: bswap on x86).
>
> Willy
Or look at:
commit 336d3262df71fcd2661180bb35d5ea41b4cbca58
Author: Harvey Harrison <harvey.harrison@...il.com>
Date: Fri Jul 18 23:07:09 2008 -0700
sctp: remove unnecessary byteshifting, calculate directly in big-endian
In Linus' tree.
Cheers,
Harvey
--
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