svn commit: r230968 - stable/7/sys/contrib/rdma
Dimitry Andric
dim at FreeBSD.org
Fri Feb 3 23:27:08 UTC 2012
Author: dim
Date: Fri Feb 3 23:27:07 2012
New Revision: 230968
URL: http://svn.freebsd.org/changeset/base/230968
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/7/sys/contrib/rdma/ib_addr.h
Directory Properties:
stable/7/sys/ (props changed)
Modified: stable/7/sys/contrib/rdma/ib_addr.h
==============================================================================
--- stable/7/sys/contrib/rdma/ib_addr.h Fri Feb 3 23:08:58 2012 (r230967)
+++ stable/7/sys/contrib/rdma/ib_addr.h Fri Feb 3 23:27:07 2012 (r230968)
@@ -42,7 +42,7 @@
#include <contrib/rdma/ib_verbs.h>
-#define MAX_ADDR_LEN ETHER_ADDR_LEN /* XXX doesn't support IB! */
+#define MAX_ADDR_LEN 20
struct rdma_addr_client {
int refcount;
More information about the svn-src-all
mailing list