diff mbox

iproute2: Support 20-byte link layer address in idxmap

Message ID 1255632801-17802-1-git-send-email-david.ward@ll.mit.edu
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

David Ward Oct. 15, 2009, 6:53 p.m. UTC
Extend the link-layer address field from 8 to 20 bytes to support InfiniBand.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
---
 lib/ll_map.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

stephen hemminger Dec. 1, 2009, 11:42 p.m. UTC | #1
On Thu, 15 Oct 2009 14:53:21 -0400
David Ward <david.ward@ll.mit.edu> wrote:

> Extend the link-layer address field from 8 to 20 bytes to support InfiniBand.
> 
> Signed-off-by: David Ward <david.ward@ll.mit.edu>
> ---
>  lib/ll_map.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/ll_map.c b/lib/ll_map.c
> index 7c0bea2..5addf4a 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];
>  };
>  

makes sense applied
diff mbox

Patch

diff --git a/lib/ll_map.c b/lib/ll_map.c
index 7c0bea2..5addf4a 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];
 };