[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMDBHYJ=+vQ8apBMU+XD1ybLVQXP1MopVM66ZKD3bTkHe2MuhA@mail.gmail.com>
Date: Tue, 31 Oct 2017 14:43:29 -0400
From: Lucas Bates <lucasb@...atatu.com>
To: "Brenda J. Butler" <bjb@...atatu.com>
Cc: davem@...emloft.net, Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>, Chris Mi <chrism@...lanox.com>,
Alexander Aring <aring@...atatu.com>,
Roman Mashak <mrv@...atatu.com>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] tc-testing: better check if thing is list
On Tue, Oct 31, 2017 at 2:28 PM, Brenda J. Butler <bjb@...atatu.com> wrote:
> Check if tcase[k] is an instance of a list (is or is derived from list)
> instead of checking if it is a list.
>
> This will be useful if the data structures change to be something
> that implements list, instead of being an actual list. In that
> case, this code will not have to change.
>
> Signed-off-by: Brenda J. Butler <bjb@...atatu.com>
Acked-by: Lucas Bates <lucasb@...atatu.com>
Powered by blists - more mailing lists