[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpVs5WOS0-Y7RvpOr12F8u84Rwna8EQ0NzuFof7Suc7Wyw@mail.gmail.com>
Date: Wed, 20 Jan 2021 14:18:41 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: wenxu <wenxu@...oud.cn>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID
flag support
On Tue, Jan 19, 2021 at 12:33 AM <wenxu@...oud.cn> wrote:
> diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
> index 2d70ded..c565c7a 100644
> --- a/net/core/flow_dissector.c
> +++ b/net/core/flow_dissector.c
> @@ -237,9 +237,8 @@ void skb_flow_dissect_meta(const struct sk_buff *skb,
> void
> skb_flow_dissect_ct(const struct sk_buff *skb,
> struct flow_dissector *flow_dissector,
> - void *target_container,
> - u16 *ctinfo_map,
> - size_t mapsize)
> + void *target_container, u16 *ctinfo_map,
> + size_t mapsize, bool post_ct)
Why do you pass this boolean as a parameter when you
can just read it from qdisc_skb_cb(skb)?
Thanks.
Powered by blists - more mailing lists