svn commit: r277137 - stable/10/sys/ofed/include/net
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Jan 13 16:57:03 UTC 2015
Author: hselasky
Date: Tue Jan 13 16:57:02 2015
New Revision: 277137
URL: https://svnweb.freebsd.org/changeset/base/277137
Log:
MFC r276879:
Don't mask the IP-address when doing multicast IP over infiniband.
PR: 196631
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/ofed/include/net/ip.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/ofed/include/net/ip.h
==============================================================================
--- stable/10/sys/ofed/include/net/ip.h Tue Jan 13 16:37:43 2015 (r277136)
+++ stable/10/sys/ofed/include/net/ip.h Tue Jan 13 16:57:02 2015 (r277137)
@@ -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-10
mailing list