Thread (6 messages) 6 messages, 4 authors, 2012-06-11

Re: [PATCH] ieee802154: verify packet size before trying to allocate it

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-06-11 03:04:46
Also in: lkml

From: Sasha Levin <redacted>
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 <redacted>
Why not limit to the device MTU?  That's exactly what I suggested
to you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help