diff options
author | Brice Goglin <Brice.Goglin@inria.fr> | 2008-01-08 07:09:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-09 08:30:18 +0100 |
commit | 877364e60edeea06efa8ceb9d29201f195af8a47 (patch) | |
tree | 9faedc7c3735ec04b0434b769e50fecc01dc5e6c /drivers/net | |
parent | [NET]: Clone the sk_buff 'iif' field in __skb_clone() (diff) | |
download | linux-877364e60edeea06efa8ceb9d29201f195af8a47.tar.xz linux-877364e60edeea06efa8ceb9d29201f195af8a47.zip |
[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@inria.fr>
Acked-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions