]> 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)
commitc1e7aba9bea4bc2830c2a92a5c9f4873e87b346b
treee0b82367be775902f3588a79dd714486d21646b3
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>