]> git.baikalelectronics.ru Git - kernel.git/commit
net: sch: sch_drr: add extack support
authorAlexander Aring <aring@mojatatu.com>
Wed, 20 Dec 2017 17:35:24 +0000 (12:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 17:32:51 +0000 (12:32 -0500)
commit260f664f71fca7d069c992e0b249a1c45ba2812b
tree5c4fb8e9cdf00e1a3aab878375c9a8f06b26bb4c
parent7e64ca2bd5f7f0e88a0ca18e284ddfa2cb34dc9e
net: sch: sch_drr: add extack support

This patch adds extack support for the drr qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.

Cc: David Ahern <dsahern@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_drr.c