From: Aristeu Rozanski <arozansk@redhat.com>
To: linux-wpan@vger.kernel.org
Cc: Alexander Aring <aar@pengutronix.de>,
Stefan Schmidt <stefan@osg.samsung.com>,
Jukka Rissanen <jukka.rissanen@linux.intel.com>,
Aristeu Rozanski <arozansk@redhat.com>
Subject: [PATCH v2 2/2] mac802154: use rate limited warnings for malformed frames
Date: Mon, 25 Jul 2016 11:46:41 -0400 [thread overview]
Message-ID: <1469461601-656-2-git-send-email-arozansk@redhat.com> (raw)
In-Reply-To: <1469461601-656-1-git-send-email-arozansk@redhat.com>
v2: rediff on top of previous v2
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
---
net/mac802154/rx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index b978da0..4dcf6e1 100644
--- 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;
}
--
1.8.3.1
next prev parent reply other threads:[~2016-07-25 15:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 15:46 [PATCH v2 1/2] mac802154: don't warn on unsupported frames Aristeu Rozanski
2016-07-25 15:46 ` Aristeu Rozanski [this message]
2016-07-25 16:19 ` [PATCH v2 2/2] mac802154: use rate limited warnings for malformed frames Alexander Aring
2016-07-25 17:24 ` Marcel Holtmann
2016-07-25 16:19 ` [PATCH v2 1/2] mac802154: don't warn on unsupported frames Alexander Aring
2016-07-25 17:24 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1469461601-656-2-git-send-email-arozansk@redhat.com \
--to=arozansk@redhat.com \
--cc=aar@pengutronix.de \
--cc=jukka.rissanen@linux.intel.com \
--cc=linux-wpan@vger.kernel.org \
--cc=stefan@osg.samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).