From owner-svn-src-stable-8@FreeBSD.ORG Fri Feb 3 23:08:59 2012 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D48E106566C; Fri, 3 Feb 2012 23:08:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EFF018FC0C; Fri, 3 Feb 2012 23:08:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q13N8w8O008615; Fri, 3 Feb 2012 23:08:58 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q13N8wBc008613; Fri, 3 Feb 2012 23:08:58 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201202032308.q13N8wBc008613@svn.freebsd.org> From: Dimitry Andric Date: Fri, 3 Feb 2012 23:08:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r230967 - stable/8/sys/contrib/rdma X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2012 23:08:59 -0000 Author: dim Date: Fri Feb 3 23:08:58 2012 New Revision: 230967 URL: http://svn.freebsd.org/changeset/base/230967 Log: MFC r229753: In sys/contrib/rdma/ib_addr.h, bump MAX_ADDR_LEN to 20 bytes (the same value used in sys/ofed/include/linux/netdevice.h), so there will be no buffer overruns in the rest of the inline functions in this file. Reviewed by: kmacy Modified: stable/8/sys/contrib/rdma/ib_addr.h Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/contrib/rdma/ib_addr.h ============================================================================== --- stable/8/sys/contrib/rdma/ib_addr.h Fri Feb 3 23:07:26 2012 (r230966) +++ stable/8/sys/contrib/rdma/ib_addr.h Fri Feb 3 23:08:58 2012 (r230967) @@ -42,7 +42,7 @@ #include -#define MAX_ADDR_LEN ETHER_ADDR_LEN /* XXX doesn't support IB! */ +#define MAX_ADDR_LEN 20 struct rdma_addr_client { int refcount;