summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2023-05-04 20:16:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 14:02:04 +0200
commit5b60c709cb7f0faa3c14559bcc51a7e1850210d3 (patch)
tree7f5e87ffb7fed88b50c3594e9e335700ee996fa4 /net
parentcaf38037ea1506b724f8bdfd011f366327b2035b (diff)
downloadlinux-stable-5b60c709cb7f0faa3c14559bcc51a7e1850210d3.tar.gz
linux-stable-5b60c709cb7f0faa3c14559bcc51a7e1850210d3.tar.bz2
linux-stable-5b60c709cb7f0faa3c14559bcc51a7e1850210d3.zip
Revert "net/sched: flower: Fix wrong handle assignment during filter change"
commit 5110f3ff6d3c986df9575c8da86630578b7f0846 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
-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 72edaa6277ce..a1c4ee2e0be2 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));