Re: Happy new year^H^H^H^Hkernel..

Eric W. Biederman (ebiederm@xmission.com)
03 Jan 2001 10:50:47 -0700


Kai Germaschewski <kai@thphy.uni-duesseldorf.de> writes:

> On Tue, 2 Jan 2001, Gerold Jury wrote:
>
> > I have reversed the patches part by part, the only thing that makes a
> > difference is the diversion services.
> > The reason for this remains unknown for me.
>
> I think I found it. Could everybody who was getting the crash on ISDN line
> hangup try if the following patch fixes the problem?
>
> I think the problem was that we relied on divert_if being initialized to
> zero automatically, which didn't happen because it was not declared static
> and therefore not in .bss (*is this true?*).

All variables with static storage (not with static scope) if not explicitly
initialized are placed in the bss segment. In particular this
means that adding/removing a static changes nothing.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/