projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca1de81
)
mac802154: use rate limited warnings for malformed frames
author
Aristeu Rozanski
<arozansk@redhat.com>
Mon, 25 Jul 2016 15:46:41 +0000
(11:46 -0400)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000
(20:19 +0200)
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
Acked-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c
patch
|
blob
|
history
diff --git
a/net/mac802154/rx.c
b/net/mac802154/rx.c
index b978da018bf89aa82401579161a5081192402082..4dcf6e18563a69603a15851ec7f1657ab4847b9f 100644
(file)
--- a/
net/mac802154/rx.c
+++ b/
net/mac802154/rx.c
@@
-109,8
+109,8
@@
ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
case IEEE802154_FC_TYPE_DATA:
return ieee802154_deliver_skb(skb);
default:
- pr_warn
("ieee802154: bad frame received (type = %d)\n",
- mac_cb(skb)->type);
+ pr_warn
_ratelimited("ieee802154: bad frame received "
+
"(type = %d)\n",
mac_cb(skb)->type);
goto fail;
}