]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rspreload: Move fork handling to first data transfer
authorSean Hefty <sean.hefty@intel.com>
Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 24 Jul 2012 18:39:06 +0000 (11:39 -0700)
commit93192f998caf2e9f0fb2d42dcd5c505926421651
tree4860efad80a95980f7d24b72f375f62f9d743186
parent1768d762d8a2100e5250234ddf080b722a5e582f
rspreload: Move fork handling to first data transfer

Instead of hooking fork and migrating the last accepted
connection to rsockets, perform the migration when the socket
first tries to send or receive data.

This is necessary to handle more complex cases of fork, where
the child process establishes connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/preload.c