projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da25cf6
)
mac802154: use goto label on failure
author
Varka Bhadram
<varkabhadram@gmail.com>
Fri, 5 Dec 2014 11:49:09 +0000
(17:19 +0530)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 5 Dec 2014 13:18:42 +0000
(14:18 +0100)
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac802154/rx.c
b/net/mac802154/rx.c
index 041dbd5958d4a8905440f42f3c2d843d89e07447..c0d67b2b4132b033ca28446556c5aefe7e047ee6 100644
(file)
--- a/
net/mac802154/rx.c
+++ b/
net/mac802154/rx.c
@@
-85,8
+85,7
@@
ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
default:
spin_unlock_bh(&sdata->mib_lock);
pr_debug("invalid dest mode\n");
- kfree_skb(skb);
- return NET_RX_DROP;
+ goto fail;
}
spin_unlock_bh(&sdata->mib_lock);