projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: Convert LIMIT_NETDEBUG to net_dbg_ratelimited
[deliverable/linux.git]
/
net
/
phonet
/
pep.c
diff --git
a/net/phonet/pep.c
b/net/phonet/pep.c
index 44b2123e22b87a3cb0cc2e3999bc145fc1df4c8b..9cd069dfaf6518700575b05b0b56e811b8f6078c 100644
(file)
--- a/
net/phonet/pep.c
+++ b/
net/phonet/pep.c
@@
-272,8
+272,8
@@
static int pipe_rcv_status(struct sock *sk, struct sk_buff *skb)
hdr = pnp_hdr(skb);
if (hdr->data[0] != PN_PEP_TYPE_COMMON) {
hdr = pnp_hdr(skb);
if (hdr->data[0] != PN_PEP_TYPE_COMMON) {
-
LIMIT_NETDEBUG(KERN_DEBUG
"Phonet unknown PEP type: %u\n",
- (unsigned int)hdr->data[0]);
+
net_dbg_ratelimited(
"Phonet unknown PEP type: %u\n",
+
(unsigned int)hdr->data[0]);
return -EOPNOTSUPP;
}
return -EOPNOTSUPP;
}
@@
-304,8
+304,8
@@
static int pipe_rcv_status(struct sock *sk, struct sk_buff *skb)
break;
default:
break;
default:
-
LIMIT_NETDEBUG(KERN_DEBUG
"Phonet unknown PEP indication: %u\n",
- (unsigned int)hdr->data[1]);
+
net_dbg_ratelimited(
"Phonet unknown PEP indication: %u\n",
+
(unsigned int)hdr->data[1]);
return -EOPNOTSUPP;
}
if (wake)
return -EOPNOTSUPP;
}
if (wake)
@@
-451,8
+451,8
@@
static int pipe_do_rcv(struct sock *sk, struct sk_buff *skb)
break;
default:
break;
default:
-
LIMIT_NETDEBUG(KERN_DEBUG
"Phonet unknown PEP message: %u\n",
- hdr->message_id);
+
net_dbg_ratelimited(
"Phonet unknown PEP message: %u\n",
+
hdr->message_id);
err = -EINVAL;
}
out:
err = -EINVAL;
}
out:
This page took
0.029015 seconds
and
5
git commands to generate.