]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Mon, 13 Aug 2012 22:59:00 +0000 (15:59 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 13 Aug 2012 22:59:00 +0000 (15:59 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index f58cafc98986b8162fac700a83f4fa1cf548d9a8..759269433c432c75304a95dca77d5e0f1388717e 100644 (file)
--- a/meta
+++ b/meta
@@ -1,11 +1,12 @@
 Version: 1
-Previous: 5d990e8f1cc7496d9e5ba75435964230a8ba9539
-Head: f6e62054b50421dc41a3a2a3734dd3f656ac1b7c
+Previous: e961a44dba5f8cd0ffdb6d6e3bac9628aa6cbe77
+Head: 204a6b6203d2363604a2074abc2ab2e293f465cd
 Applied:
   real-close: 3409f8d6af187d25c63a5d1f8ee8bff5f14555e2
   dup2: ca5813e7cf95dee5933fc417e4a34d26f2b01824
   oobinline: ac51c1095f505373a6ec54b8f1d990259fb34d97
   fork-connect: f6e62054b50421dc41a3a2a3734dd3f656ac1b7c
+  refresh-temp: 204a6b6203d2363604a2074abc2ab2e293f465cd
 Unapplied:
   dbg-out: 04273ee712db4d53efb390462c1b738bb54a57df
   fstat: a62c653906870422edef5f6388dac9f76c953e35
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..c002e79
--- /dev/null
@@ -0,0 +1,26 @@
+Bottom: 869244971263f9cd4426b0428f1505bf77030a32
+Top:    652ae6e1dadacc92be353adaafd434f1ff7ddbfa
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-08-13 15:59:00 -0700
+
+Refresh of fork-connect
+
+---
+
+diff --git a/src/preload.c b/src/preload.c
+index 9182b6a..8b86415 100644
+--- a/src/preload.c
++++ b/src/preload.c
+@@ -531,6 +531,12 @@ err1:
+       fd_store(socket, sfd, fd_normal, fd_ready);
+ }
++/*
++ * The server will start listening for the new connection, then send a
++ * message to the active side when the listen is ready.  This does leave
++ * fork unsupported in the following case: the server is nonblocking and
++ * calls select/poll waiting to receive data from the client.
++ */
+ static void fork_passive(int socket)
+ {
+       struct sockaddr_in6 sin6;