Please sign in to comment.
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 <email@example.com> Fixes: 65cab850f0ee ("net: Allow class-e address assignment via ifconfig ioctl") Cc: Dave Taht <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com> Signed-off-by: Kevin Darbyshire-Bryant <firstname.lastname@example.org>
- Loading branch information...
Showing with 3 additions and 3 deletions.
- +1 −1 target/linux/generic/backport-4.14/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch
- +1 −1 target/linux/generic/backport-4.19/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch
- +1 −1 target/linux/generic/backport-4.9/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch