patch-1.3.64 linux/net/ipv4/af_inet.c

Next file: linux/net/ipv4/ipip.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.63/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -93,6 +93,9 @@
 #ifdef CONFIG_IP_ALIAS
 #include <net/ip_alias.h>
 #endif
+#ifdef CONFIG_KERNELD
+#include <linux/kerneld.h>
+#endif
 
 #define min(a,b)	((a)<(b)?(a):(b))
 
@@ -1292,6 +1295,10 @@
 		case SIOCDRARP:
 		case SIOCGRARP:
 		case SIOCSRARP:
+#ifdef CONFIG_KERNELD
+			if (rarp_ioctl_hook == NULL)
+				request_module("rarp");
+#endif
 			if (rarp_ioctl_hook != NULL)
 				return(rarp_ioctl_hook(cmd,(void *) arg));
 		case SIOCGIFCONF:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this