[lkml]   [2004]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: when is alloc_skb called
    Ben Collins wrote:
    > On Mon, Jun 07, 2004 at 03:29:14PM -0600, Sushant Sharma wrote:
    >>Hi All
    >>I want to know which are the evnets
    >>that can lead to the calling of alloc_skb
    >>function which is used to allocate sk_buff.
    >>Arrival and departure of packet are 2 events
    >>which I know. Are there any other events/cases
    >>which can lead to alloc_skb(...) function call in kernel.
    > Some non-network related drivers use skb's for non-network related
    > things (ieee1394 is one such abuser).

    And some network protocol stacks use it to report events, like
    connection requests, etc see the x25 code, for instance
    (x25_establish_link, x25_terminate_link), sometimes allocating
    1 byte, sometimes using the skb->cb scratch area.

    - Arnaldo
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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