net: sched: gred: use extack to provide more details on configuration errors
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 15 Nov 2018 06:23:47 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Nov 2018 07:08:51 +0000 (23:08 -0800)
commit4777be08b8aab41286efdf5362a02f8e26d1a84e
tree238ada0b515422160f6f71665ae28710c98a22b6
parent79c59fe01e70f595f0d67be76ae8309a32a3760d
net: sched: gred: use extack to provide more details on configuration errors

Add extack messages to -EINVAL errors, to help users identify
their mistakes.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_gred.c