[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1473723645.18970.109.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Mon, 12 Sep 2016 16:40:45 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jamal Hadi Salim <jhs@...atatu.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, daniel@...earbox.net,
xiyou.wangcong@...il.com, john.r.fastabend@...el.com
Subject: Re: [PATCH v5 net-next 1/1] net_sched: Introduce skbmod action
On Mon, 2016-09-12 at 19:30 -0400, Jamal Hadi Salim wrote:
> From: Jamal Hadi Salim <jhs@...atatu.com>
> +
> +static struct tc_action_ops act_skbmod_ops = {
> + .kind = "skbmod",
> + .type = TCA_ACT_SKBMOD,
> + .owner = THIS_MODULE,
> + .act = tcf_skbmod_run,
> + .dump = tcf_skbmod_dump,
> + .init = tcf_skbmod_init,
> + .walk = tcf_skbmod_walker,
> + .lookup = tcf_skbmod_search,
> + .size = sizeof(struct tcf_skbmod),
> +};
Looks like you missed a .cleanup() handler ?
Otherwise, d->skbmod_p wont be freed .
Powered by blists - more mailing lists