Re: [Evolution] Plain Text patch White Space damaged ?



On Tue, 2020-11-03 at 13:19 +0100, Andre Klapper via evolution-list wrote:


On Tue, 2020-11-03 at 12:09 +0000, Joakim Tjernlund via evolution-list
wrote:
With latest Evo, 3.38.1, it seems like all patches I receive are WS
damaged w.r.t TAB, appears to replace with 8 SPACEes instead.

What makes you think that the message had tabs instead of spaces?

It is a Linux PATCH and Linux uses TABS for indent.
I then check other patches I had I my Inbox and they were the same, no TABs

Which webkit version is involved?

webkit-gtk-2.28.4

Where to find a test case?
I can forward the patch I tried:

commit 2fb541c862c9 ("net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc")

When the above upstream commit is backported to stable kernel,
one assignment is missing, which causes two problems reported
by Joakim and Vishwanath, see [1] and [2].

So add the assignment back to fix it.

1.
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.spinics.net%2Flists%2Fnetdev%2Fmsg693916.html&data=04%7C01%7CJoakim.Tjernlund%40infinera.com%7C7bc873a1d44d431f062008d87fa8a625%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C637399709608572537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=L%2BLZL5de2DysJxtrPLdHYzoc3A6Tkero7P67JmIn4BM%3D&reserved=0
2.
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.spinics.net%2Flists%2Fnetdev%2Fmsg695131.html&data=04%7C01%7CJoakim.Tjernlund%40infinera.com%7C7bc873a1d44d431f062008d87fa8a625%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C637399709608572537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=prOeVIM6IZsdxw5Hr1SZGqziljq5JT214ltqcpyYyLk%3D&reserved=0

Fixes: 749cc0b0c7f3 ("net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc")
Signed-off-by: Yunsheng Lin <linyunsheng huawei com>
---
 net/sched/sch_generic.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index 0e275e1..6e6147a 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -1127,10 +1127,13 @@ static void dev_deactivate_queue(struct net_device *dev,
                                 void *_qdisc_default)
 {
        struct Qdisc *qdisc = rtnl_dereference(dev_queue->qdisc);
+       struct Qdisc *qdisc_default = _qdisc_default;

        if (qdisc) {
                if (!(qdisc->flags & TCQ_F_BUILTIN))
                        set_bit(__QDISC_STATE_DEACTIVATED, &qdisc->state);
+
+               rcu_assign_pointer(dev_queue->qdisc, qdisc_default);
        }
 }

--
2.7.4


andre
--
Andre Klapper  |  ak-47 gmx net
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblogs.gnome.org%2Faklapper%2F&amp;data=04%7C01%7Cjoakim.tjernlund%40infinera.com%7C0e757029034e4cf3f2af08d87ff2c5fd%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C637400027972618428%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=7I%2FsstfOGFl%2Fxjp%2BlbfVKXVlb5e9yzNJ%2F34wuOpez5w%3D&amp;reserved=0


_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.gnome.org%2Fmailman%2Flistinfo%2Fevolution-list&amp;data=04%7C01%7Cjoakim.tjernlund%40infinera.com%7C0e757029034e4cf3f2af08d87ff2c5fd%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C637400027972618428%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=2nif0Fnof72IXfQfVMJk7B0VsecBaMxzAh0xyYBJoyE%3D&amp;reserved=0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]