Re: UML x86_86 Multicast Patch

From: Jeff Dike
Date: Fri Sep 02 2005 - 19:19:28 EST


On Fri, Sep 02, 2005 at 07:52:02PM -0300, Alan Menegotto wrote:
> 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.
>
> ====================================================
>
>
> --- /tmp/mcast_user.c 2005-09-03 19:59:15.000000000 -0300
> +++ mcast_user.c 2005-09-03 19:59:32.000000000 -0300
> @@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/