Re: [vserver] VServer and Multicasting

From: Benedikt Böhm <bb_at_xnull.de>
Date: Tue 11 Jan 2011 - 08:58:34 GMT
Message-ID: <AANLkTik3gD3xyvZhXe_=+UnpR-bQ7821MZSbSq-Tr0nx@mail.gmail.com>

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;
                }
Received on Tue Jan 11 08:58:54 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 11 Jan 2011 - 08:58:55 GMT by hypermail 2.1.8