Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2004 14:09:14 +0400
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        Julian Elischer <julian@elischer.org>
Cc:        Harti Brandt <harti@freebsd.org>
Subject:   Re: shutdown node VS disconnect all hooks
Message-ID:  <20040528100914.GA43187@cell.sick.ru>
In-Reply-To: <Pine.BSF.4.21.0405280128570.63204-100000@InterJet.elischer.org>
References:  <Pine.GSO.4.60.0405281022360.18426@zeus> <Pine.BSF.4.21.0405280128570.63204-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 28, 2004 at 01:31:09AM -0700, Julian Elischer wrote:
J> > JE>> If you do that, I suppose you need to edit all the nodes, right?. In that
J> > JE>> case could you please convert the initialisation of the typestructs
J> > JE>> to use C99 sparse initialisation? In that case future changes will be a good
J> > JE>> deal easier.
J> > JE>
J> > JE>actually I don't know if you do need to edit the nodes
J> > JE>types.. At one time it was true that unassigned elements on
J> > JE>the end will be NULL.
J> > 
J> > Sure they will, but this will confuse the next one who is adding
J> > a new operation. I was just thinking: 'In the case that Gleb has nothing 
J> > else to do he could as well just take the chance...' :-)
J> 
J> He seems to have taken the bait
J> (heh heh)
J> 
J> It'd be best to make the change to sparse initialisers a separate patch
J> that I cold commit separatly,
J> so reduce teh size of the functionality change patch.
J> 
J> (or harti could commit it.., or ruslan)

Agreed. I make a series of patches then :)

Here is the first one - convert all ng_type initializers to C99 sparse type.

AFAIK, we also have two netgraph ports. Adding of preshutdown method will break
them. I'll fix ng_netflow port, and notify maintainer of ng_daphne.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040528100914.GA43187>