Subject: Re: [vserver] VServer and Multicasting
From:Benedikt Böhm <bb@xnull.de>
Date: Tue, 11 Jan 2011 09:58:34 +0100

On Mon, Jan 10, 2011 at 6:04 PM, Eric Schoeller
<eschoeller@users.sourceforge.net> wrote:
> Someone else will probably come up with a cleaner solution though :)

the following patch should make it work out-of-the-box:

--- a/include/linux/vs_inet.h    2010-09-02 14:29:18.000000000 +0200
+++ b/include/linux/vs_inet.h    2010-10-14 10:03:54.879553071 +0200
@@ -244,7 +244,7 @@
                } else if (saddr == IPI_LOOPBACK) {
                        if (nx_info_flags(nxi, NXF_LBACK_REMAP, 0))
                                baddr = nxi->v4_lback.s_addr;
-               } else {        /* normal address bind */
+               } else if (!ipv4_is_multicast(saddr)) { /* normal
address bind */
                        if (!v4_addr_in_nx_info(nxi, saddr, NXA_MASK_BIND))
                                return -EADDRNOTAVAIL;
                }