net: if_arp: use define instead of hard-coded value
authorHåkon Bugge <Haakon.Bugge@oracle.com>
Fri, 21 Sep 2018 10:39:30 +0000 (12:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:22:32 +0000 (19:22 -0700)
commit6a12709da354ea149fdf86c4c9aba5b5033e9cf2
tree60fdc2678ff4aabc4906b5d2bb24738cf3ad7596
parent30f8eb55873ef078f5f02f636061d9399debbeab
net: if_arp: use define instead of hard-coded value

uapi/linux/if_arp.h includes linux/netdevice.h, which uses
IFNAMSIZ. Hence, use it instead of hard-coded value.

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_arp.h