[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180117172731.2d0938e4@cakuba.netronome.com>
Date: Wed, 17 Jan 2018 17:27:31 -0800
From: Jakub Kicinski <kubakici@...pl>
To: Alexander Aring <aring@...atatu.com>
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
davem@...emloft.net, netdev@...r.kernel.org, kernel@...atatu.com,
David Ahern <dsahern@...il.com>
Subject: Re: [PATCHv2 net-next 8/8] net: sched: cls_u32: add extack support
On Wed, 17 Jan 2018 17:40:27 -0500, Alexander Aring wrote:
> diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c
> index 8840baa1b9b4..daeac7282387 100644
> --- a/net/sched/cls_u32.c
> +++ b/net/sched/cls_u32.c
> @@ -524,8 +524,10 @@ static int u32_replace_hw_hnode(struct tcf_proto *tp, struct tc_u_hnode *h,
> offloaded = true;
> }
>
> - if (skip_sw && !offloaded)
> + if (skip_sw && !offloaded) {
> + NL_SET_ERR_MSG(extack, "Failed to offload filter requested with skip sw");
> return -EINVAL;
> + }
>
> return 0;
> }
Why did you ignore my comment about using NL_SET_ERR_MSG_MOD? Do you
disagree with it?
Powered by blists - more mailing lists