diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2019-01-19 19:42:21 +0000 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2019-01-19 20:45:49 +0000 |
commit | 1fdb4a7907e0290c7fe5ca3346d40782002dec7b (patch) | |
tree | 52bba2a3aa054949107dac74c67d5f79250351a2 /include | |
parent | e6bcf1e4acc4901c1803cdccc4b9fabfd6d84c90 (diff) | |
download | upstream-1fdb4a7907e0290c7fe5ca3346d40782002dec7b.tar.gz upstream-1fdb4a7907e0290c7fe5ca3346d40782002dec7b.tar.bz2 upstream-1fdb4a7907e0290c7fe5ca3346d40782002dec7b.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions