RE: [PATCH 7/32] [TIPC] Multicast link failure now resets all links to "nacking" node.

2006-06-26 Thread Per Liden
On Thu, 22 Jun 2006, Stephens, Allan wrote: [...] > Per, I'll leave it to you to decide if you want to address James's > concern. But be aware that the link_reset_all() routine is only called > to handle emergency situations when TIPC's multicast link has run into > serious problems and is trying

RE: [PATCH 7/32] [TIPC] Multicast link failure now resets all links to "nacking" node.

2006-06-22 Thread Stephens, Allan
Allan > Subject: Re: [PATCH 7/32] [TIPC] Multicast link failure now > resets all links to "nacking" node. > > On Thu, 22 Jun 2006, Per Liden wrote: > > > +static void link_reset_all(unsigned long addr) { > > + struct node *n_ptr; > > + char addr_s

Re: [PATCH 7/32] [TIPC] Multicast link failure now resets all links to "nacking" node.

2006-06-22 Thread James Morris
On Thu, 22 Jun 2006, Per Liden wrote: > +static void link_reset_all(unsigned long addr) > +{ > + struct node *n_ptr; > + char addr_string[16]; > + u32 i; > + > + read_lock_bh(&tipc_net_lock); > + n_ptr = tipc_node_find((u32)addr); > + if (!n_ptr) { > + read_unlo

[PATCH 7/32] [TIPC] Multicast link failure now resets all links to "nacking" node.

2006-06-22 Thread Per Liden
From: Allan Stephens <[EMAIL PROTECTED]> This fix prevents node from crashing. Signed-off-by: Allan Stephens <[EMAIL PROTECTED]> Signed-off-by: Per Liden <[EMAIL PROTECTED]> --- net/tipc/bcast.c | 32 +++--- net/tipc/link.c | 124 +-