patch-2.1.73 linux/net/ipv4/fib_frontend.c

Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/ipv4/arp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/net/ipv4/fib_frontend.c linux/net/ipv4/fib_frontend.c
@@ -259,7 +259,7 @@
 		if (copy_from_user(&r, arg, sizeof(struct rtentry)))
 			return -EFAULT;
 		rtnl_lock();
-		err = fib_convert_rtentry(cmd, &req.nlh, &req.rtm, &rta, arg);
+		err = fib_convert_rtentry(cmd, &req.nlh, &req.rtm, &rta, &r);
 		if (err == 0) {
 			if (cmd == SIOCDELRT) {
 				struct fib_table *tb = fib_get_table(req.rtm.rtm_table);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov