From: David Ward Date: Thu, 15 Oct 2009 18:53:21 +0000 (-0400) Subject: iproute2: Support 20-byte link layer address in idxmap X-Git-Tag: v2.6.31~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e03dcc040d47e87991314991ba2f79af9fab2218;p=thirdparty%2Fiproute2.git iproute2: Support 20-byte link layer address in idxmap Extend the link-layer address field from 8 to 20 bytes to support InfiniBand. Signed-off-by: David Ward --- diff --git a/lib/ll_map.c b/lib/ll_map.c index c1d61a9af..a96c59ea6 100644 --- a/lib/ll_map.c +++ b/lib/ll_map.c @@ -31,7 +31,7 @@ struct idxmap int type; int alen; unsigned flags; - unsigned char addr[8]; + unsigned char addr[20]; char name[16]; };