diff options
author | Alexander Aring <aring@mojatatu.com> | 2017-12-20 12:35:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-21 12:32:50 -0500 |
commit | 653d6fd68d8e5b43d496ca8a1d38331d515a226b (patch) | |
tree | 759ecf07543dfd444e165d6f72acb014a3d7d092 /include/net/sch_generic.h | |
parent | cbaacc4e8a394d63bcd707775ca5bb7a51aaabee (diff) | |
download | talos-op-linux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.tar.gz talos-op-linux-653d6fd68d8e5b43d496ca8a1d38331d515a226b.zip |
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>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index f65dd2837142..3baadac9e7a5 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -151,7 +151,8 @@ struct Qdisc_class_ops { /* Child qdisc manipulation */ struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); int (*graft)(struct Qdisc *, unsigned long cl, - struct Qdisc *, struct Qdisc **); + struct Qdisc *, struct Qdisc **, + struct netlink_ext_ack *extack); struct Qdisc * (*leaf)(struct Qdisc *, unsigned long cl); void (*qlen_notify)(struct Qdisc *, unsigned long); |