summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-04 07:36:30 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-04 07:36:30 +0000
commitfb3779cdd2c4b8132378d5b0640fdd3b35cd77b0 (patch)
tree88cbec6e0e28ec6f7cfd574f44e0e21d05ba30c8 /net/ipv4/fib.c
parente6bb071d768a6fc03a63193abe0991a75a762d35 (diff)
Remove useless debugging printk's.
Diffstat (limited to 'net/ipv4/fib.c')
-rw-r--r--net/ipv4/fib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ipv4/fib.c b/net/ipv4/fib.c
index b25187a20..7daab2e61 100644
--- a/net/ipv4/fib.c
+++ b/net/ipv4/fib.c
@@ -1647,21 +1647,16 @@ int ip_rt_ioctl(unsigned int cmd, void *arg)
{
case SIOCADDRT: /* Add a route */
case SIOCDELRT: /* Delete a route */
-printk("ip_rt_ioctl() #1\n");
if (!suser())
return -EPERM;
-printk("ip_rt_ioctl() #2\n");
err = get_rt_from_user(&m.rtmsg, arg);
if (err)
return err;
-printk("ip_rt_ioctl() #3\n");
fib_lock();
-printk("ip_rt_ioctl() #4\n");
dummy_nlh.nlmsg_type = cmd == SIOCDELRT ? RTMSG_DELROUTE
: RTMSG_NEWROUTE;
err = rtmsg_process(&dummy_nlh, &m.rtmsg);
fib_unlock();
-printk("ip_rt_ioctl() #5: err == %d\n", err);
return err;
case SIOCRTMSG:
if (!suser())