net: sched: propagate extack to cls->destroy callbacks
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 24 Jan 2018 20:54:13 +0000 (12:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jan 2018 21:01:09 +0000 (16:01 -0500)
commit715df5ecab0f22685930cb8bb0cc70ed8fb9279e
treefb334ed46c620e7e88595867c7facc3def3e01c7
parent46410c2efa9cb5b2f40c9ce24a75d147f44aedeb
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>
13 files changed:
include/net/sch_generic.h
net/sched/cls_api.c
net/sched/cls_basic.c
net/sched/cls_bpf.c
net/sched/cls_cgroup.c
net/sched/cls_flow.c
net/sched/cls_flower.c
net/sched/cls_fw.c
net/sched/cls_matchall.c
net/sched/cls_route.c
net/sched/cls_rsvp.h
net/sched/cls_tcindex.c
net/sched/cls_u32.c