From: Alexander Aring Subject: [PATCH 0/2] use stack instead of heap Date: Tue, 5 Feb 2013 21:23:42 +0100 Message-ID: <1360095824-12538-1-git-send-email-alex.aring@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, linux-zigbee-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: alex.bluesman.smirnov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-zigbee-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: netdev.vger.kernel.org In 6lowpan and mac802154 implemenation is a allocated temp heap buffer, which can also on the stack. I hope 100 bytes in 6lowpan are fine. Alexander Aring (2): 6lowpan: use stack buffer instead of heap wpan: use stack buffer instead of heap net/ieee802154/6lowpan.c | 13 ++++--------- net/mac802154/wpan.c | 7 +------ 2 files changed, 5 insertions(+), 15 deletions(-) -- 1.8.1.2 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb