diff options
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 4bc3a57c183d..a52b5853aaa8 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -302,7 +302,7 @@ static int __init ic_route_ioctl(unsigned int cmd, struct rtentry *arg) | |||
302 | 302 | ||
303 | mm_segment_t oldfs = get_fs(); | 303 | mm_segment_t oldfs = get_fs(); |
304 | set_fs(get_ds()); | 304 | set_fs(get_ds()); |
305 | res = ip_rt_ioctl(cmd, (void __user *) arg); | 305 | res = ip_rt_ioctl(&init_net, cmd, (void __user *) arg); |
306 | set_fs(oldfs); | 306 | set_fs(oldfs); |
307 | return res; | 307 | return res; |
308 | } | 308 | } |