[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080107.220928.211341509.davem@davemloft.net>
Date: Mon, 07 Jan 2008 22:09:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: Brice.Goglin@...ia.fr
Cc: gallatin@...i.com, themann@...ibm.com, torvalds@...l.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH][LRO] Fix lro_mgr->features checks
From: Brice Goglin <Brice.Goglin@...ia.fr>
Date: Mon, 07 Jan 2008 14:33:32 +0100
> [PATCH][LRO] Fix lro_mgr->features checks
>
> lro_mgr->features contains a bitmask of LRO_F_* values which are
> defined as power of two, not as bit indexes.
> They must be checked with x&LRO_F_FOO, not with test_bit(LRO_F_FOO,&x).
>
> Signed-off-by: Brice Goglin <Brice.Goglin@...ia.fr>
> Acked-by: Andrew Gallatin <gallatin@...i.com>
Applied, thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists