All of lore.kernel.org
 help / color / mirror / Atom feed
From: gmate.amit@gmail.com (Kumar amit mehta)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Query on skb buffer
Date: Wed, 6 Mar 2013 10:39:13 -0800	[thread overview]
Message-ID: <20130306183913.GA3328@gmail.com> (raw)

My current understanding is that the skb, while being passed along various
layers in linux network stack, will be manipulated majorly, using the
skb->{head|data|tail|end|len} fields. 

Suppose that my application (say 'ping') sends a ICMP echo request with a
large packet size of 4k, i.e. $ ping -s 4096 <dest addr>
Now, if alloc_skb(4096, GFP_KERNEL) is the routine that gets called to allocate
the kernel buffer then, how does the kernel manages such prospective memory 
allocation failures and how kernel manages large packet requests from the
application.

-Amit

             reply	other threads:[~2013-03-06 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06 18:39 Kumar amit mehta [this message]
2013-03-06 19:32 ` Query on skb buffer Valdis.Kletnieks at vt.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130306183913.GA3328@gmail.com \
    --to=gmate.amit@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.