patch-2.1.31 linux/net/ipv4/ip_masq.c
Next file: linux/net/ipv4/ip_masq_app.c
Previous file: linux/net/ipv4/ip_fragment.c
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Mon Mar 31 12:52:32 1997
- Orig file:
v2.1.30/linux/net/ipv4/ip_masq.c
- Orig date:
Fri Dec 27 02:04:49 1996
diff -u --recursive --new-file v2.1.30/linux/net/ipv4/ip_masq.c linux/net/ipv4/ip_masq.c
@@ -122,7 +122,7 @@
unsigned hash;
if (ms->flags & IP_MASQ_F_HASHED) {
- printk("ip_masq_hash(): request for already hashed\n");
+ printk(KERN_INFO "ip_masq_hash(): request for already hashed\n");
return 0;
}
/*
@@ -155,7 +155,7 @@
unsigned hash;
struct ip_masq ** ms_p;
if (!(ms->flags & IP_MASQ_F_HASHED)) {
- printk("ip_masq_unhash(): request for unhash flagged\n");
+ printk(KERN_INFO "ip_masq_unhash(): request for unhash flagged\n");
return 0;
}
/*
@@ -349,14 +349,14 @@
if (*free_ports_p == 0) {
if (++n_fails < 5)
- printk("ip_masq_new(proto=%s): no free ports.\n",
+ printk(KERN_ERR "ip_masq_new(proto=%s): no free ports.\n",
masq_proto_name(proto));
return NULL;
}
ms = (struct ip_masq *) kmalloc(sizeof(struct ip_masq), GFP_ATOMIC);
if (ms == NULL) {
if (++n_fails < 5)
- printk("ip_masq_new(proto=%s): no memory available.\n",
+ printk(KERN_ERR "ip_masq_new(proto=%s): no memory available.\n",
masq_proto_name(proto));
return NULL;
}
@@ -416,7 +416,7 @@
}
if (++n_fails < 5)
- printk("ip_masq_new(proto=%s): could not get free masq entry (free=%d).\n",
+ printk(KERN_ERR "ip_masq_new(proto=%s): could not get free masq entry (free=%d).\n",
masq_proto_name(ms->protocol), *free_ports_p);
kfree_s(ms, sizeof(*ms));
return NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov