svn commit: r277138 - stable/9/sys/ofed/include/net

Hans Petter Selasky hselasky at FreeBSD.org
Tue Jan 13 17:02:22 UTC 2015


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;


More information about the svn-src-stable-9 mailing list