Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965358AbcLTTYt (ORCPT ); Tue, 20 Dec 2016 14:24:49 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:44356 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965195AbcLTTXS (ORCPT ); Tue, 20 Dec 2016 14:23:18 -0500 Date: Tue, 20 Dec 2016 14:23:16 -0500 (EST) Message-Id: <20161220.142316.1701175453489831251.davem@davemloft.net> To: geliangtang@gmail.com Cc: stephen@networkplumber.org, jhs@mojatatu.com, netem@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net_sched: sch_netem: use rb_entry() From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 20 Dec 2016 10:24:00 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 241 Lines: 9 From: Geliang Tang Date: Tue, 20 Dec 2016 22:02:16 +0800 > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang Applied.