About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Thu 02 May 2002 - 18:23:04 BST


On Tue, 30 Apr 2002 13:56:23 -0500, Lew Teck Kheng wrote
> hi Jacques :
>
> Thank for the reply.
>
> There is a process that need to bind to the broadcast at certain port
> before i can start the remaining cluster nodes. This process is actually
> a run level controller.
>
> I am trying to setup a cluster vserver but without the process able to
> bind to the broadcast at the prot I cannot startup any of the cluster
> nodes.

Here is the patch. If all is fine, I will do ctx-11 with that.

*** net/ipv4/af_inet.bak Mon Mar 18 12:26:22 2002
--- net/ipv4/af_inet.c Thu May 2 11:09:53 2002
***************
*** 497,503 ****
                        bcast_addr = current->ipv4root_bcast;
                }else if (s_addr == 0x0100007f){
                        s_addr = current->ipv4root;
! }else if (s_addr != current->ipv4root){
                        return -EADDRNOTAVAIL;
                }
        }
--- 497,504 ----
                        bcast_addr = current->ipv4root_bcast;
                }else if (s_addr == 0x0100007f){
                        s_addr = current->ipv4root;
! }else if (s_addr != current->ipv4root_bcast
! && s_addr != current->ipv4root){
                        return -EADDRNOTAVAIL;
                }
        }

---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:40 GMT by hypermail 2.1.3