From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, wey-yi.w.guy@intel.com
Subject: Re: [PATCH v2] net: add a truesize parameter to skb_add_rx_frag()
Date: Sun, 25 Mar 2012 13:30:17 -0400 (EDT) [thread overview]
Message-ID: <20120325.133017.755244992502310658.davem@davemloft.net> (raw)
In-Reply-To: <1332583173.3487.3.camel@edumazet-laptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Sat, 24 Mar 2012 02:59:33 -0700
> skb_add_rx_frag() API is misleading.
>
> Network skbs built with this helper can use uncharged kernel memory and
> eventually stress/crash machine in OOM.
>
> Add a 'truesize' parameter and then fix drivers in followup patches.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied.
prev parent reply other threads:[~2012-03-25 17:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 13:17 [PATCH] net: add a truesize parameter to skb_add_rx_frag() Eric Dumazet
2012-03-24 9:57 ` Eric Dumazet
2012-03-24 9:59 ` [PATCH v2] " Eric Dumazet
2012-03-25 17:30 ` David Miller [this message]
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=20120325.133017.755244992502310658.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=wey-yi.w.guy@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox