All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bluetooth-next 1/2] mac802154: use goto label on failure
@ 2014-12-05 11:49 Varka Bhadram
  2014-12-05 11:49 ` [PATCH bluetooth-next 2/2] cc2520: adds terminating newline Varka Bhadram
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Varka Bhadram @ 2014-12-05 11:49 UTC (permalink / raw)
  To: linux-wpan; +Cc: alex.aring, Varka Bhadram

Signed-off-by: Varka Bhadram <varkab@cdac.in>
---
 net/mac802154/rx.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index 041dbd5..c0d67b2 100644
--- 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);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-05 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 11:49 [PATCH bluetooth-next 1/2] mac802154: use goto label on failure Varka Bhadram
2014-12-05 11:49 ` [PATCH bluetooth-next 2/2] cc2520: adds terminating newline Varka Bhadram
2014-12-05 13:19   ` Marcel Holtmann
2014-12-05 12:03 ` [PATCH bluetooth-next 1/2] mac802154: use goto label on failure Stefan Schmidt
2014-12-05 12:31 ` Alexander Aring
2014-12-05 13:19 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.