summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2023-05-04 20:16:15 +0200
committerDavid S. Miller <davem@davemloft.net>2023-05-05 10:01:31 +0100
commit5110f3ff6d3c986df9575c8da86630578b7f0846 (patch)
tree30d76fbc3407d854145c9a97a9317f88913bb691 /net/sched
parentdd4f6bbfa646f258e5bcdfac57a5c413d687f588 (diff)
Revert "net/sched: flower: Fix wrong handle assignment during filter change"
This reverts commit 32eff6bacec2cb574677c15378169a9fa30043ef. Superseded by the following commit in this series. Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/cls_flower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_flower.c b/net/sched/cls_flower.c
index 4dc3a9007f30..ac4f344c52e0 100644
--- a/net/sched/cls_flower.c
+++ b/net/sched/cls_flower.c
@@ -2231,8 +2231,8 @@ static int fl_change(struct net *net, struct sk_buff *in_skb,
kfree(fnew);
goto errout_tb;
}
- fnew->handle = handle;
}
+ fnew->handle = handle;
err = tcf_exts_init_ex(&fnew->exts, net, TCA_FLOWER_ACT, 0, tp, handle,
!tc_skip_hw(fnew->flags));