iscsi boot: check for nic/tgt array limits
commit6aea5ccf2939b0b2045b87a2c0afde9b5e14f91c
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 1 May 2009 17:40:16 +0000 (1 12:40 -0500)
committerMike Christie <michaelc@cs.wisc.edu>
Fri, 1 May 2009 20:28:48 +0000 (1 15:28 -0500)
tree910fcbb0ab47fb92009c1b97d09e21432a496e2c
parentf463ec5fb07494f155f5fc33b620a923f943f4b6
iscsi boot: check for nic/tgt array limits

If we were to find more thatn IBFT_MAX targets we would
overrun the tgt or nic arrary. This just has us spit an
error and return.
utils/fwparam_ibft/fwparam_ibft_sysfs.c