]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net_sched: sch_fq: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:15 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2016 19:22:48 +0000 (14:22 -0500)
commite124557d60ccefacbda79934af816526cc08aeb7
treeb98c2eb683726f4860eb02f8c852f1ed0ded6bd9
parentf7fb138389aac97fe165c9b8fe4dcfeb97a78d06
net_sched: sch_fq: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c