net: sched: sch: add extack for graft callback
This patch adds extack support for graft callback to prepare per-qdisc specific changes for extack. 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>
This commit is contained in:

committed by
David S. Miller

parent
cbaacc4e8a
commit
653d6fd68d
@@ -977,7 +977,8 @@ skip:
|
||||
unsigned long cl = cops->find(parent, classid);
|
||||
|
||||
if (cl) {
|
||||
err = cops->graft(parent, cl, new, &old);
|
||||
err = cops->graft(parent, cl, new, &old,
|
||||
extack);
|
||||
} else {
|
||||
NL_SET_ERR_MSG(extack, "Specified class not found");
|
||||
err = -ENOENT;
|
||||
|
Reference in New Issue
Block a user