Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758456AbcLTQij (ORCPT ); Tue, 20 Dec 2016 11:38:39 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:33172 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756679AbcLTQif (ORCPT ); Tue, 20 Dec 2016 11:38:35 -0500 Message-ID: <1482251909.1521.22.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [PATCH] net_sched: sch_fq: use rb_entry() From: Eric Dumazet To: Geliang Tang Cc: Jamal Hadi Salim , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 20 Dec 2016 08:38:29 -0800 In-Reply-To: <6aa180710d70b09d4f81d3d219b3161077e1ff11.1482204526.git.geliangtang@gmail.com> References: <6aa180710d70b09d4f81d3d219b3161077e1ff11.1482204526.git.geliangtang@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 359 Lines: 13 On Tue, 2016-12-20 at 22:02 +0800, Geliang Tang wrote: > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang > --- > net/sched/sch_fq.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) Acked-by: Eric Dumazet Thanks.