[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>
This commit is contained in:

committed by
David S. Miller

parent
4d479e40e1
commit
ca9334523c
@@ -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;
|
||||
|
Reference in New Issue
Block a user