]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
rspreload: Call init from getsockname()
authorSean Hefty <sean.hefty@intel.com>
Tue, 24 Jul 2012 21:13:55 +0000 (14:13 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 24 Jul 2012 21:13:55 +0000 (14:13 -0700)
netperf for some unknown reason calls getsockname() using a
hard coded value of 0, without first allocating a socket.
This causes the rsocket preload library to crash, since the
library has not been properly initialized.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>

No differences found