Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:4.14 commit in: /
Date: Wed, 14 Nov 2018 13:33:29
Message-Id: 1542202368.74327f5c6aa2d35f97bdf93afced411a37c9a640.mpagano@gentoo
1 commit: 74327f5c6aa2d35f97bdf93afced411a37c9a640
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 14 13:32:48 2018 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 14 13:32:48 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=74327f5c
7
8 proj/linux-patches: Removal of redundant patch
9
10 1800_TCA-OPTIONS-sched-fix.patch
11
12 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
13
14 0000_README | 4 ----
15 1800_TCA-OPTIONS-sched-fix.patch | 35 -----------------------------------
16 2 files changed, 39 deletions(-)
17
18 diff --git a/0000_README b/0000_README
19 index fd76211..70ae288 100644
20 --- a/0000_README
21 +++ b/0000_README
22 @@ -379,10 +379,6 @@ Patch: 1700_ia64_fix_ptrace.patch
23 From: https://patchwork.kernel.org/patch/10198159/
24 Desc: ia64: fix ptrace(PTRACE_GETREGS) (unbreaks strace, gdb).
25
26 -Patch: 1800_TCA-OPTIONS-sched-fix.patch
27 -From: https://git.kernel.org
28 -Desc: net: sched: Remove TCA_OPTIONS from policy
29 -
30 Patch: 2100_bcache-data-corruption-fix-for-bi-partno.patch
31 From: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=62530ed8b1d07a45dec94d46e521c0c6c2d476e6
32 Desc: bio: ensure __bio_clone_fast copies bi_partno.
33
34 diff --git a/1800_TCA-OPTIONS-sched-fix.patch b/1800_TCA-OPTIONS-sched-fix.patch
35 deleted file mode 100644
36 index f960fac..0000000
37 --- a/1800_TCA-OPTIONS-sched-fix.patch
38 +++ /dev/null
39 @@ -1,35 +0,0 @@
40 -From e72bde6b66299602087c8c2350d36a525e75d06e Mon Sep 17 00:00:00 2001
41 -From: David Ahern <dsahern@×××××.com>
42 -Date: Wed, 24 Oct 2018 08:32:49 -0700
43 -Subject: net: sched: Remove TCA_OPTIONS from policy
44 -
45 -Marco reported an error with hfsc:
46 -root@Calimero:~# tc qdisc add dev eth0 root handle 1:0 hfsc default 1
47 -Error: Attribute failed policy validation.
48 -
49 -Apparently a few implementations pass TCA_OPTIONS as a binary instead
50 -of nested attribute, so drop TCA_OPTIONS from the policy.
51 -
52 -Fixes: 8b4c3cdd9dd8 ("net: sched: Add policy validation for tc attributes")
53 -Reported-by: Marco Berizzi <pupilla@××××××.it>
54 -Signed-off-by: David Ahern <dsahern@×××××.com>
55 -Signed-off-by: David S. Miller <davem@×××××××××.net>
56 ----
57 - net/sched/sch_api.c | 1 -
58 - 1 file changed, 1 deletion(-)
59 -
60 -diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
61 -index 022bca98bde6..ca3b0f46de53 100644
62 ---- a/net/sched/sch_api.c
63 -+++ b/net/sched/sch_api.c
64 -@@ -1320,7 +1320,6 @@ check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w)
65 -
66 - const struct nla_policy rtm_tca_policy[TCA_MAX + 1] = {
67 - [TCA_KIND] = { .type = NLA_STRING },
68 -- [TCA_OPTIONS] = { .type = NLA_NESTED },
69 - [TCA_RATE] = { .type = NLA_BINARY,
70 - .len = sizeof(struct tc_estimator) },
71 - [TCA_STAB] = { .type = NLA_NESTED },
72 ---
73 -cgit 1.2-0.3.lf.el7
74 -