]> 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>
Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)
commit90f61d3079894915082ed164f71d54b21aa5a289
tree64f842716d428bde944b1d88a9c26dc0d4dbd189
parent2724e02d5b461f8c580249461271de0f7acefcab
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