summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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())