patch-pre2.0.3 linux/net/ipv4/arp.c

Next file: linux/net/ipv4/igmp.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.2/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -1105,7 +1105,7 @@
 	
 	if(!(entry->flags&ATF_COM))
 	{
-		printk("arp_send_q: incomplete entry for %s\n",
+		printk(KERN_ERR "arp_send_q: incomplete entry for %s\n",
 				in_ntoa(entry->ip));
 		/* Can't flush the skb, because RFC1122 says to hang on to */
 		/* at least one from any unresolved entry.  --MS */
@@ -1670,7 +1670,7 @@
 				+ dev->hard_header_len, GFP_ATOMIC);
 	if (skb == NULL)
 	{
-		printk("ARP: no memory to send an arp packet\n");
+		printk(KERN_DEBUG "ARP: no memory to send an arp packet\n");
 		return;
 	}
 	skb_reserve(skb, dev->hard_header_len);
@@ -1798,7 +1798,7 @@
 			break;
 
 		default:
-			printk("ARP: dev->type mangled!\n");
+			printk(KERN_ERR "ARP: dev->type mangled!\n");
 			kfree_skb(skb, FREE_READ);
 			return 0;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this