Re: creation of sock

Sourav Ghosh (sourav@cs.cmu.edu)
Fri, 23 Feb 2001 20:48:13 -0500


I found this condition only happens when the sock state is TCP_TIME_WAIT.
I don't know if this helps.

Sourav Ghosh wrote:

> Hello,
>
> I'm using linux 2.2.15 kernel on redhat.
> I have added some variables (pointers) on "sock" data structure.
> I was initializing them to NULL in sk_alloc() function.
>
> But it seems some sock structures are allocated for TCP bypassing this
> sk_alloc() and due to this my added pointers are not initialized to NULL
> all the time.
>
> Can anyone tell me which function is being called for generating sock
> for TCP connections ( I guess for a aprticular TCP packet type, not for
> all, as I'm getting into this problem intermittently, esp., when I try
> access some specified website from my PC) ?
>
> Thanks
> --
> Sourav

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