lkml.org 
[lkml]   [2001]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: creation of sock
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:17    [W:0.021 / U:59.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site