From 4f85bc95dedb42855fe6ea88ec0353497997f964 Mon Sep 17 00:00:00 2001 From: Roland Dreier Date: Mon, 6 Jan 2003 09:06:34 -0800 Subject: [NET]: Increase MAX_ADDR_LEN. - Add ARPHRD_INFINIBAND - Increase MAX_ADDR_LEN to 32 from 8 - Add suitable length protection to SIOCGIFHWADDR and friends. - Add RTM_SETLINK for portably setting larger hw addrs. --- include/linux/netdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/netdevice.h') diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 513b89ca7836..b3026b172369 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -65,7 +65,7 @@ struct vlan_group; #endif -#define MAX_ADDR_LEN 8 /* Largest hardware address length */ +#define MAX_ADDR_LEN 32 /* Largest hardware address length */ /* * Compute the worst case header length according to the protocols -- cgit v1.2.3