Searched hist:ac177a330077f264664f56259038e121bb214bec (Results 1 – 1 of 1) sorted by relevance
/linux/net/sched/ |
H A D | cls_flower.c | diff ac177a330077f264664f56259038e121bb214bec Thu Jul 13 20:05:14 CEST 2023 Victor Nogueira <victor@mojatatu.com> net: sched: cls_flower: Undo tcf_bind_filter in case of an error
If TCA_FLOWER_CLASSID is specified in the netlink message, the code will call tcf_bind_filter. However, if any error occurs after that, the code should undo this by calling tcf_unbind_filter.
Fixes: 77b9900ef53a ("tc: introduce Flower classifier") Signed-off-by: Victor Nogueira <victor@mojatatu.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by: Pedro Tammela <pctammela@mojatatu.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|