patch-2.4.20 linux-2.4.20/net/core/rtnetlink.c

Next file: linux-2.4.20/net/core/sysctl_net_core.c
Previous file: linux-2.4.20/net/core/pktgen.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/net/core/rtnetlink.c linux-2.4.20/net/core/rtnetlink.c
@@ -523,6 +523,7 @@
 	rtnl = netlink_kernel_create(NETLINK_ROUTE, rtnetlink_rcv);
 	if (rtnl == NULL)
 		panic("rtnetlink_init: cannot initialize rtnetlink\n");
+	netlink_set_nonroot(NETLINK_ROUTE, NL_NONROOT_RECV);
 	register_netdevice_notifier(&rtnetlink_dev_notifier);
 	rtnetlink_links[PF_UNSPEC] = link_rtnetlink_table;
 	rtnetlink_links[PF_PACKET] = link_rtnetlink_table;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)