diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-24 21:54:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-24 22:01:09 +0100 |
commit | 715df5ecab0f22685930cb8bb0cc70ed8fb9279e (patch) | |
tree | fb334ed46c620e7e88595867c7facc3def3e01c7 /net/sched/cls_rsvp.h | |
parent | Merge branch 'pktgen-Behavior-flags-fixes' (diff) | |
download | linux-715df5ecab0f22685930cb8bb0cc70ed8fb9279e.tar.xz linux-715df5ecab0f22685930cb8bb0cc70ed8fb9279e.zip |
net: sched: propagate extack to cls->destroy callbacks
Propagate extack to cls->destroy callbacks when called from
non-error paths. On error paths pass NULL to avoid overwriting
the failure message.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_rsvp.h')
-rw-r--r-- | net/sched/cls_rsvp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_rsvp.h b/net/sched/cls_rsvp.h index 5cc0df690cff..4f1297657c27 100644 --- a/net/sched/cls_rsvp.h +++ b/net/sched/cls_rsvp.h @@ -322,7 +322,7 @@ static void rsvp_delete_filter(struct tcf_proto *tp, struct rsvp_filter *f) __rsvp_delete_filter(f); } -static void rsvp_destroy(struct tcf_proto *tp) +static void rsvp_destroy(struct tcf_proto *tp, struct netlink_ext_ack *extack) { struct rsvp_head *data = rtnl_dereference(tp->root); int h1, h2; |