]> Pileus Git - ~andy/linux/commitdiff
qlcnic: fix bug in LRO descriptor access macro
authorSony Chacko <sony.chacko@qlogic.com>
Tue, 4 Dec 2012 03:33:57 +0000 (03:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2012 18:00:12 +0000 (13:00 -0500)
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c

index 880a9ca274dc2acdcf85f30ac88ca0a6e3782430..6f82812d0fab9e2e5697b3770d2c3c524b5daeab 100644 (file)
@@ -66,7 +66,7 @@
        (((sts_data) >> 58) & 0x03F)
 
 #define qlcnic_get_lro_sts_refhandle(sts_data)         \
-       ((sts_data) & 0x0FFFF)
+       ((sts_data) & 0x07FFF)
 #define qlcnic_get_lro_sts_length(sts_data)    \
        (((sts_data) >> 16) & 0x0FFFF)
 #define qlcnic_get_lro_sts_l2_hdr_offset(sts_data)     \