[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190725102045.xrs327ksgkyzzl5h@salvia>
Date: Thu, 25 Jul 2019 12:20:45 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: wenxu@...oud.cn
Cc: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] flow_offload: move tc indirect block to
flow offload
On Thu, Jul 25, 2019 at 05:55:31PM +0800, wenxu@...oud.cn wrote:
> +struct flow_indr_block_dev {
> + struct rhash_head ht_node;
> + struct net_device *dev;
> + unsigned int refcnt;
> + struct list_head cb_list;
> + flow_indr_block_ing_cmd_t *cmd_cb;
> + void *block;
There's now a flow_block object in order to avoid void * which is
prone to bugs later on since the compiler cannot make type validation
anymore.
Powered by blists - more mailing lists