<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/sched/sch_htb.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-01-16T04:12:00Z</updated>
<entry>
<title>sched: Avoid dereferencing skb pointer after child enqueue</title>
<updated>2019-01-16T04:12:00Z</updated>
<author>
<name>Toke Høiland-Jørgensen</name>
</author>
<published>2019-01-09T16:09:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6bab199315b70fd83fe3ee0947bc84c7a35f3d4'/>
<id>urn:sha1:f6bab199315b70fd83fe3ee0947bc84c7a35f3d4</id>
<content type='text'>
Parent qdiscs may dereference the pointer to the enqueued skb after
enqueue. However, both CAKE and TBF call consume_skb() on the original skb
when splitting GSO packets, leading to a potential use-after-free in the
parent. Fix this by avoiding dereferencing the skb pointer after enqueueing
to the child.

Signed-off-by: Toke Høiland-Jørgensen &lt;toke@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: sched: rename qdisc_destroy() to qdisc_put()</title>
<updated>2018-09-26T03:17:35Z</updated>
<author>
<name>Vlad Buslov</name>
</author>
<published>2018-09-24T16:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86bd446b5cebd783187ea3772ff258210de77d99'/>
<id>urn:sha1:86bd446b5cebd783187ea3772ff258210de77d99</id>
<content type='text'>
Current implementation of qdisc_destroy() decrements Qdisc reference
counter and only actually destroy Qdisc if reference counter value reached
zero. Rename qdisc_destroy() to qdisc_put() in order for it to better
describe the way in which this function currently implemented and used.

Extract code that deallocates Qdisc into new private qdisc_destroy()
function. It is intended to be shared between regular qdisc_put() and its
unlocked version that is introduced in next patch in this series.

Signed-off-by: Vlad Buslov &lt;vladbu@mellanox.com&gt;
Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>htb: use anonymous union for simplicity</title>
<updated>2018-09-10T17:39:57Z</updated>
<author>
<name>Cong Wang</name>
</author>
<published>2018-09-07T20:29:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11957be20ff68d7670cb979a1c3ea5482a44b370'/>
<id>urn:sha1:11957be20ff68d7670cb979a1c3ea5482a44b370</id>
<content type='text'>
cl-&gt;leaf.q is slightly more readable than cl-&gt;un.leaf.q.

Cc: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sch_htb: Remove local SKB queue handling code.</title>
<updated>2018-09-10T17:06:52Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2018-07-29T23:22:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aea890b8b2e071bb75043353581f2197a2f13160'/>
<id>urn:sha1:aea890b8b2e071bb75043353581f2197a2f13160</id>
<content type='text'>
Instead, adjust __qdisc_enqueue_tail() such that HTB can use it
instead.

The only other caller of __qdisc_enqueue_tail() is
qdisc_enqueue_tail() so we can move the backlog and return value
handling (which HTB doesn't need/want) to the latter.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net_sched: remove unused htb drop_list</title>
<updated>2018-06-24T07:42:46Z</updated>
<author>
<name>Cong Wang</name>
</author>
<published>2018-06-23T20:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe0b082fedd1d09c73c48883f04a9fe2967b5899'/>
<id>urn:sha1:fe0b082fedd1d09c73c48883f04a9fe2967b5899</id>
<content type='text'>
After commit a09ceb0e0814 ("sched: remove qdisc-&gt;drop"),
it is no longer used.

Cc: Florian Westphal &lt;fw@strlen.de&gt;
Signed-off-by: Cong Wang &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: sched: do not emit messages while holding spinlock</title>
<updated>2018-04-02T00:53:50Z</updated>
<author>
<name>Li RongQing</name>
</author>
<published>2018-03-30T02:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da01ec4ee5e69933641e6017d6461d0ce9dbfac6'/>
<id>urn:sha1:da01ec4ee5e69933641e6017d6461d0ce9dbfac6</id>
<content type='text'>
move messages emitting out of sch_tree_lock to avoid holding
this lock too long.

Signed-off-by: Li RongQing &lt;lirongqing@baidu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: sch: api: add extack support in qdisc_create_dflt</title>
<updated>2017-12-21T17:32:51Z</updated>
<author>
<name>Alexander Aring</name>
</author>
<published>2017-12-20T17:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a38a98821c939e67e5906bddbed1d15af5ca860d'/>
<id>urn:sha1:a38a98821c939e67e5906bddbed1d15af5ca860d</id>
<content type='text'>
This patch adds extack support for the function qdisc_create_dflt which is
a common used function in the tc subsystem. Callers which are interested
in the receiving error can assign extack to get a more detailed
information why qdisc_create_dflt failed. The function qdisc_create_dflt
will also call an init callback which can fail by any per-qdisc specific
handling.

Cc: David Ahern &lt;dsahern@gmail.com&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: Alexander Aring &lt;aring@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: sch: api: add extack support in tcf_block_get</title>
<updated>2017-12-21T17:32:51Z</updated>
<author>
<name>Alexander Aring</name>
</author>
<published>2017-12-20T17:35:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d1a77f974ca61d39afa5bf0aeab210525d31475'/>
<id>urn:sha1:8d1a77f974ca61d39afa5bf0aeab210525d31475</id>
<content type='text'>
This patch adds extack support for the function tcf_block_get which is
a common used function in the tc subsystem. Callers which are interested
in the receiving error can assign extack to get a more detailed
information why tcf_block_get failed.

Cc: David Ahern &lt;dsahern@gmail.com&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: Alexander Aring &lt;aring@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: sch: api: add extack support in qdisc_get_rtab</title>
<updated>2017-12-21T17:32:50Z</updated>
<author>
<name>Alexander Aring</name>
</author>
<published>2017-12-20T17:35:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9bc3fa28bae7612f41e3538f241a2f87f629c94'/>
<id>urn:sha1:e9bc3fa28bae7612f41e3538f241a2f87f629c94</id>
<content type='text'>
This patch adds extack support for the function qdisc_get_rtab which is
a common used function in the tc subsystem. Callers which are interested
in the receiving error can assign extack to get a more detailed
information why qdisc_get_rtab failed.

Cc: David Ahern &lt;dsahern@gmail.com&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: Alexander Aring &lt;aring@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: sched: sch: add extack for graft callback</title>
<updated>2017-12-21T17:32:50Z</updated>
<author>
<name>Alexander Aring</name>
</author>
<published>2017-12-20T17:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=653d6fd68d8e5b43d496ca8a1d38331d515a226b'/>
<id>urn:sha1:653d6fd68d8e5b43d496ca8a1d38331d515a226b</id>
<content type='text'>
This patch adds extack support for graft callback to prepare per-qdisc
specific changes for extack.

Cc: David Ahern &lt;dsahern@gmail.com&gt;
Acked-by: Jamal Hadi Salim &lt;jhs@mojatatu.com&gt;
Signed-off-by: Alexander Aring &lt;aring@mojatatu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
