Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 17:02:22 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r277138 - stable/9/sys/ofed/include/net
Message-ID:  <201501131702.t0DH2Mo3008504@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Jan 13 17:02:21 2015
New Revision: 277138
URL: https://svnweb.freebsd.org/changeset/base/277138

Log:
  MFC r276879:
  Don't mask the IP-address when doing multicast IP over infiniband.
  
  PR:             196631
  Sponsored by:   Mellanox Technologies

Modified:
  stable/9/sys/ofed/include/net/ip.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/ofed/include/net/ip.h
==============================================================================
--- stable/9/sys/ofed/include/net/ip.h	Tue Jan 13 16:57:02 2015	(r277137)
+++ stable/9/sys/ofed/include/net/ip.h	Tue Jan 13 17:02:21 2015	(r277138)
@@ -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?201501131702.t0DH2Mo3008504>