diff options
author | Rajesh K Borundia <rajesh.borundia@qlogic.com> | 2010-03-29 02:43:43 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-29 20:18:37 (GMT) |
commit | 10c0f2a852a529eacf2f223bbaef47832224a521 (patch) | |
tree | d2f2c6cca67ad3a8c8526d2bb707b99639cf93f5 /drivers/net/netxen/netxen_nic.h | |
parent | 6b50ea1516fab30ce5843e5b11e43488f38c776d (diff) | |
download | linux-10c0f2a852a529eacf2f223bbaef47832224a521.tar.xz |
netxen: validate unified romimage
Signed-off-by: Rajesh K Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Validate all sections of unified romimage, before accessing them,
to avoid seg fault.
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index 144d2e8..33ae5e1 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h @@ -420,7 +420,6 @@ struct status_desc { } __attribute__ ((aligned(16))); /* UNIFIED ROMIMAGE *************************/ -#define NX_UNI_FW_MIN_SIZE 0xc8000 #define NX_UNI_DIR_SECT_PRODUCT_TBL 0x0 #define NX_UNI_DIR_SECT_BOOTLD 0x6 #define NX_UNI_DIR_SECT_FW 0x7 |