Re: [PATCH] infiniband-diags/ibnetdiscover: fix no port 0 info segmentation fault

2012-07-03 Thread Ira Weiny
On Thu, 28 Jun 2012 13:13:07 -0400 Hal Rosenstock h...@dev.mellanox.co.il wrote: Fix ibnetdiscover egmentation fault when it reaches a switch that does not respond to a PortInfo Get for port 0. Note: When ibnetdiscover can't read the port capabilites field from switch port 0, '???' is

[PATCH] infiniband-diags/ibnetdiscover: fix no port 0 info segmentation fault

2012-06-28 Thread Hal Rosenstock
Fix ibnetdiscover egmentation fault when it reaches a switch that does not respond to a PortInfo Get for port 0. Note: When ibnetdiscover can't read the port capabilites field from switch port 0, '???' is printed for link speed and width. Signed-off-by: Daniel Klein dani...@mellanox.com ---