mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
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:
parent
cbaacc4e8a
commit
653d6fd68d
17 changed files with 23 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue