UML x86_86 Multicast Patch
Just a silly error.
In mcast_user.c from /usr/src/linux-2.6.13/arch/um/drivers when multicast is enabled it cannot pass the "compile kernel" phase. The following patch should fix the error. Please correct me if I'm wrong.
====================================================
mcast_user.c 2005-09-03 19:59:32.000000000 -0300 renamed from tmp/mcast_user.c 2005-09-03 19:59:15.000000000 -0300 +1 -1
@@ -13,7 +13,7 @@ #include <errno.h> #include <unistd.h> -#include <linux/inet.h> +//#include <linux/inet.h> #include <sys/socket.h> #include <sys/un.h> #include <sys/time.h>
Signature · 1 line
Alan Menegotto
Quoted 10 lines · Alan Menegotto
In
mcast_user.cfrom/usr/src/linux-2.6.13/arch/um/driverswhen multicast is enabled it cannot pass the "compile kernel" phase. The following patch should fix the error. Please correct me if I'm wrong.====================================================
mcast_user.c 2005-09-03 19:59:32.000000000 -0300 line 19
Quoted 8 lines
mcast_user.c 2005-09-03 19:59:32.000000000 -0300 renamed from tmp/mcast_user.c 2005-09-03 19:59:15.000000000 -0300 +1
-1@@ -13,7 +13,7 @@ #include <errno.h> #include <unistd.h> -#include <linux/inet.h> +//#include <linux/inet.h> #include <sys/socket.h> #include <sys/un.h> #include <sys/time.h>
Well, it passes my compile kernel phase, otherwise it would have been fixed already. But eliminating that include doesn't break anything (as it can't, considering that inet.h is empty), so this is applied, thanks.
Jeff