netxen: validate unified romimage
authorRajesh K Borundia <rajesh.borundia@qlogic.com>
Mon, 29 Mar 2010 02:43:43 +0000 (02:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2010 20:18:37 +0000 (13:18 -0700)
commit10c0f2a852a529eacf2f223bbaef47832224a521
treed2f2c6cca67ad3a8c8526d2bb707b99639cf93f5
parent6b50ea1516fab30ce5843e5b11e43488f38c776d
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>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_init.c