]> git.karo-electronics.de Git - linux-beck.git/commit
mac802154: rx: add error handling after skb_clone
authorAlexander Aring <alex.aring@gmail.com>
Wed, 29 Oct 2014 20:34:42 +0000 (21:34 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Oct 2014 22:07:46 +0000 (23:07 +0100)
commit05f7de67921d8b382b14597c3955c5881d804d99
treefba5d076b382adab64c99e08c07a930822b8a62e
parent20b48120c14fb4bf6ebe4ed4cfa1b828e5e1dff8
mac802154: rx: add error handling after skb_clone

This patch adds error handling after skb_clone and deliver only if
skb_clone was successful.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c