RT : 2.6.15-rt1 and net/ipv6/mcast.c

From: Serge Noiraud
Date: Wed Jan 04 2006 - 12:25:21 EST


Hi,

On my i386 machine I can't compile. I have an error in net/ipv6/mcast.c
I correct the error doing the correction below. No more compilation problem.
Not yet tested. perhaps someone already submit it, but I received no mail today from vger.kernel.org

Index: linux/net/ipv6/mcast.c
===================================================================
--- linux.orig/net/ipv6/mcast.c
+++ linux/net/ipv6/mcast.c
@@ -224,7 +224,7 @@

mc_lst->ifindex = dev->ifindex;
mc_lst->sfmode = MCAST_EXCLUDE;
- mc_lst->sflock = RW_LOCK_UNLOCKED;
+ mc_lst->sflock = RW_LOCK_UNLOCKED(mc_lst->sflock);
mc_lst->sflist = NULL;

/*
-
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/