Date: Fri, 9 Jan 2015 06:39:08 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276879 - head/sys/ofed/include/net Message-ID: <201501090639.t096d8Ns070311@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Jan 9 06:39:07 2015 New Revision: 276879 URL: https://svnweb.freebsd.org/changeset/base/276879 Log: Don't mask the IP-address when doing multicast IP over infiniband. PR: 196631 MFC after: 3 days Sponsored by: Mellanox Technologies Modified: head/sys/ofed/include/net/ip.h Modified: head/sys/ofed/include/net/ip.h ============================================================================== --- head/sys/ofed/include/net/ip.h Fri Jan 9 03:35:19 2015 (r276878) +++ head/sys/ofed/include/net/ip.h Fri Jan 9 06:39:07 2015 (r276879) @@ -74,7 +74,7 @@ ip_ib_mc_map(uint32_t addr, const unsign buf[13] = 0; buf[14] = 0; buf[15] = 0; - buf[16] = (addr >> 24) & 0x0f; + buf[16] = (addr >> 24) & 0xff; buf[17] = (addr >> 16) & 0xff; buf[18] = (addr >> 8) & 0xff; buf[19] = addr & 0xff;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501090639.t096d8Ns070311>