openwrt/target/linux/generic/backport-4.19
Kevin Darbyshire-Bryant 1fdb4a7907 kernel: N_BADCLASS: fix macro to actually work - class e support
Backport upstream patch:

Commit 65cab850f0ee ("net: Allow class-e address assignment via ifconfig
ioctl") modified the IN_BADCLASS macro a bit, but unfortunatly one too
many '(' characters were added to the line, making any code that used
it, not build properly.

Also, the macro now compares an unsigned with a signed value, which
isn't ok, so fix that up by making both types match properly.

Reported-by: Christopher Ferris <cferris@google.com>
Fixes: 65cab850f0ee ("net: Allow class-e address assignment via ifconfig ioctl")
Cc: Dave Taht <dave.taht@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-01-19 20:45:49 +00:00
..
010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
011-kbuild-export-SUBARCH.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
020-backport_netfilter_rtcache.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
047-v4.21-mtd-keep-original-flags-for-every-struct-mtd_info.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
048-v4.21-mtd-improve-calculating-partition-boundaries-when-ch.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
080-v5.1-0001-bcma-keep-a-direct-pointer-to-the-struct-device.patch kernel: backport bcma patches that improve printing functions 2019-01-10 16:47:43 +01:00
080-v5.1-0002-bcma-use-dev_-printing-functions.patch kernel: backport bcma patches that improve printing functions 2019-01-10 16:47:43 +01:00
095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch kernel: N_BADCLASS: fix macro to actually work - class e support 2019-01-19 20:45:49 +00:00
100-arm-cns3xxx-fix-writing-to-wrong-PCI-registers-after.patch kernel: bump 4.19 to 4.19.16 2019-01-17 03:04:13 +02:00
343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch kernel: bump 4.19 to 4.19.16 2019-01-17 03:04:13 +02:00
366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00
371-netfilter-nf_flow_table-fix-up-ct-state-of-flows-aft.patch kernel: Make the patches apply on top of 4.19 2018-12-15 14:28:48 +01:00