diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2012-07-02 05:29:55 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-09 10:49:30 +0400 |
commit | 3da947b2693993d5f6138f005d2625e9387c9618 (patch) | |
tree | af7f831e5570f8081bd6d973a3aef7195f8a8967 /drivers/net/ethernet/broadcom/b44.c | |
parent | 9e85a6f9dc231f3ed3c1dc1b12217505d970142a (diff) | |
download | linux-3da947b2693993d5f6138f005d2625e9387c9618.tar.xz |
ieee802154: verify packet size before trying to allocate it
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/b44.c')
0 files changed, 0 insertions, 0 deletions