]> git.proxmox.com Git - mirror_iproute2.git/commit
uapi/in.h: Allow class-e address assignment
authorStephen Hemminger <sthemmin@microsoft.com>
Thu, 20 Dec 2018 17:17:05 +0000 (09:17 -0800)
committerStephen Hemminger <sthemmin@microsoft.com>
Thu, 20 Dec 2018 17:17:05 +0000 (09:17 -0800)
commitef7f9fae2e1838e7c7d211f72581f4eb2e7efc71
tree90ae3f025bb9c18858d2a4d23a47ea00e83015cd
parent8b2ea19276f0a11c95a807c609c6f0effccd9ac6
uapi/in.h: Allow class-e address assignment

While most distributions long ago switched to the iproute2 suite
of utilities, which allow class-e (240.0.0.0/4) address assignment,
distributions relying on busybox, toybox and other forms of
ifconfig cannot assign class-e addresses without this kernel patch.

While CIDR has been obsolete for 2 decades, and a survey of all the
open source code in the world shows the IN_whatever macros are also
obsolete... rather than obsolete CIDR from this ioctl entirely, this
patch merely enables class-e assignment, sanely.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/in.h