Re: [PATCH][LRO] Fix lro_mgr->features checks

From: David Miller
Date: Tue Jan 08 2008 - 01:09:41 EST


From: Brice Goglin <Brice.Goglin@xxxxxxxx>
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@xxxxxxxx>
> Acked-by: Andrew Gallatin <gallatin@xxxxxxxx>

Applied, thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/