File 0220-2189234-minimal-provider-count-is-3-4-with-interOpProvider.patch of Package sblim-sfcb

From cb2eefbd0510eb64c682254563c15ec39f706602 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Thu, 23 Oct 2008 13:37:16 +0200
Subject: [PATCH] minimal provider count is 3 (4 with interOpProvider)

---
 sfcBroker.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sfcBroker.c b/sfcBroker.c
index 827eb7b..74ea376 100644
--- a/sfcBroker.c
+++ b/sfcBroker.c
@@ -727,12 +727,12 @@ int main(int argc, char *argv[])
    else
        exFlags = exFlags | 2;
 
-   if ((enableInterOp && pSockets < 2 ) || pSockets < 1) {
+   if ((enableInterOp && pSockets < 4 ) || pSockets < 3) {
      /* adjusting provider number */
      if (enableInterOp) {
-       pSockets = 2;
+       pSockets = 4;
      } else {
-       pSockets = 1;
+       pSockets = 3;
      }
      mlogf(M_INFO,M_SHOW,
 	   "--- Max provider process number adjusted to %d\n", pSockets);
-- 
1.6.0.2

openSUSE Build Service is sponsored by