kernel: backport ifconfig ioctl support for class e addresses
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 16 Dec 2018 19:13:56 +0000 (19:13 +0000)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Mon, 17 Dec 2018 10:40:20 +0000 (10:40 +0000)
commit2574c86ce66c4032e5905d46601106ccc0c69676
tree58d5d9928d00b4208821b8bc16ddcb5ef703e7d1
parentd112d095a933366293198a2d1b593af6b0c46904
kernel: backport ifconfig ioctl support for class e addresses

Backport net: Allow class-e address assignment via ifconfig ioctl
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.

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=65cab850f0eeaa9180bd2e10a231964f33743edf

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
target/linux/generic/backport-4.14/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch [new file with mode: 0644]
target/linux/generic/backport-4.19/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch [new file with mode: 0644]
target/linux/generic/backport-4.9/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch [new file with mode: 0644]