From: Sasha Levin <levinsasha928@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: dbaryshkov@gmail.com, slapin@ossfans.org,
linux-zigbee-devel@lists.sourceforge.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ieee802154: verify packet size before trying to allocate it
Date: Mon, 11 Jun 2012 10:18:22 +0200 [thread overview]
Message-ID: <1339402702.4999.15.camel@lappy> (raw)
In-Reply-To: <20120610.200443.971015025499077057.davem@davemloft.net>
On Sun, 2012-06-10 at 20:04 -0700, David Miller wrote:
> From: Sasha Levin <levinsasha928@gmail.com>
> Date: Sun, 10 Jun 2012 13:10:19 +0200
>
> > Currently when sending data over datagram, the send function will attempt to
> > allocate any size passed on from the userspace.
> >
> > We should make sure that this size is checked and limited. The maximum size
> > of an IP packet seemed like the safest limit here.
> >
> > Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
>
> Why not limit to the device MTU? That's exactly what I suggested
> to you.
That's what I ended up doing in the reply to this mail.
next prev parent reply other threads:[~2012-06-11 8:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-10 11:10 [PATCH] ieee802154: verify packet size before trying to allocate it Sasha Levin
2012-06-10 11:24 ` Alan Cox
2012-06-10 12:16 ` Sasha Levin
2012-06-10 12:55 ` Jan Ceuleers
2012-06-11 3:04 ` David Miller
2012-06-11 8:18 ` Sasha Levin [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-06-06 21:32 Sasha Levin
2012-06-06 21:32 ` Sasha Levin
2012-06-07 20:10 ` David Miller
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=1339402702.4999.15.camel@lappy \
--to=levinsasha928@gmail.com \
--cc=davem@davemloft.net \
--cc=dbaryshkov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-zigbee-devel@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
--cc=slapin@ossfans.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.