IB/ipath: fix for crash on module unload, if cfgports < portcnt
authorBryan O'Sullivan <bos@pathscale.com>
Fri, 25 Aug 2006 18:24:28 +0000 (11:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:27 +0000 (15:22 -0700)
Allocate enough pointers for all possible ports, to avoid problems in
cleanup/unload.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found