diff options
author | Heikki Orsila <heikki.orsila@iki.fi> | 2005-08-08 23:26:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-08-08 23:26:52 +0200 |
commit | ca9334523c853e407da7b3a0bd02f54d0fa59414 (patch) | |
tree | 3c4f8050d9bc0e062038c1f7e22722e0e6447bfc /net/ipv4/icmp.c | |
parent | [NETLINK]: Allocate and kill some netlink numbers. (diff) | |
download | linux-ca9334523c853e407da7b3a0bd02f54d0fa59414.tar.xz linux-ca9334523c853e407da7b3a0bd02f54d0fa59414.zip |
[IPV4]: Debug cleanup
Here's a small patch to cleanup NETDEBUG() use in net/ipv4/ for Linux
kernel 2.6.13-rc5. Also weird use of indentation is changed in some
places.
Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r-- | net/ipv4/icmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 279f57abfecb..3d78464f64ea 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c @@ -936,8 +936,7 @@ int icmp_rcv(struct sk_buff *skb) case CHECKSUM_HW: if (!(u16)csum_fold(skb->csum)) break; - NETDEBUG(if (net_ratelimit()) - printk(KERN_DEBUG "icmp v4 hw csum failure\n")); + LIMIT_NETDEBUG(printk(KERN_DEBUG "icmp v4 hw csum failure\n")); case CHECKSUM_NONE: if ((u16)csum_fold(skb_checksum(skb, 0, skb->len, 0))) goto error; |