re: [vserver] Bind to broadcast address at port 2xxxx

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

From: Lew Teck Kheng (lewtk_at_attglobal.net)
Date: Mon May 06 2002 - 08:14:12 EDT


hi jacques :

The patch worked perfectly !

Thanks

Cheers

On Fri, 2002-05-03 at 01:23, Jacques Gelinas wrote:
> 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

-- 
========================================================================
Lew Teck Kheng
System Engineer
Asia LMN System Engineering (Malaysia)
(+603) 7725 6890
www.logica.com
"Logica Make MMS Real
Person to Person MMS demonstrated live using devices from 8
manufacturers
 on the Orange France GPRS Network at the 3 GSM World Congress in
Cannes."
========================================================================

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

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT