Date: Tue, 30 Apr 2019 18:42:42 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r346972 - stable/11/sys/netinet6 Message-ID: <201904301842.x3UIggqX016844@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Apr 30 18:42:42 2019 New Revision: 346972 URL: https://svnweb.freebsd.org/changeset/base/346972 Log: MFC r346596: ipoib: assign link-local address according to RFC. Modified: stable/11/sys/netinet6/in6_ifattach.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/netinet6/in6_ifattach.c ============================================================================== --- stable/11/sys/netinet6/in6_ifattach.c Tue Apr 30 18:36:56 2019 (r346971) +++ stable/11/sys/netinet6/in6_ifattach.c Tue Apr 30 18:42:42 2019 (r346972) @@ -348,6 +348,14 @@ found: IF_ADDR_RUNLOCK(ifp); return -1; + case IFT_INFINIBAND: + if (addrlen != 20) { + IF_ADDR_RUNLOCK(ifp); + return -1; + } + bcopy(addr + 12, &in6->s6_addr[8], 8); + break; + default: IF_ADDR_RUNLOCK(ifp); return -1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904301842.x3UIggqX016844>