Re: [PATCH] iblinkinfo: fix no port 0 info segmentation fault

2012-07-07 Thread Ira Weiny
On Thu, 05 Jul 2012 12:45:20 -0400 Hal Rosenstock h...@dev.mellanox.co.il wrote: Fix iblinkinfo segfault when switch port 0 not responding to PortInfo If switch port 0 doesn't respond to PortInfo, the speed and width of switch ports is unknown. Signed-off-by: Daniel Klein

[PATCH] iblinkinfo: fix no port 0 info segmentation fault

2012-07-05 Thread Hal Rosenstock
Fix iblinkinfo segfault when switch port 0 not responding to PortInfo If switch port 0 doesn't respond to PortInfo, the speed and width of switch ports is unknown. Signed-off-by: Daniel Klein dani...@mellanox.com --- src/ibdiag_common.c | 24 ++-- src/iblinkinfo.c| 38