Re: [PATCH v3] ieee802154: verify packet size before trying toallocate it

From: David Miller
Date: Mon Jul 09 2012 - 02:50:02 EST


From: Sasha Levin <levinsasha928@xxxxxxxxx>
Date: Mon, 2 Jul 2012 13:29:55 +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. We'll limit it
> to the MTU of the device, which is checked later anyway.
>
> Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/