]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite72129adec4fee53bc2ded908736bad9023164b5
treed2f2c6cca67ad3a8c8526d2bb707b99639cf93f5
parent642555a0eae05440f0756c8234996866b885d5bf
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