LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] net: sched: cls_api: Fix the the wrong parameter
@ 2021-07-22 3:23 Yajun Deng
2021-07-22 7:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Yajun Deng @ 2021-07-22 3:23 UTC (permalink / raw)
To: jhs, jiri, davem, kuba; +Cc: netdev, linux-kernel, Yajun Deng
The 4th parameter in tc_chain_notify() should be flags rather than seq.
Let's change it back correctly.
Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
---
net/sched/cls_api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
index c8cb59a11098..1167cd0be179 100644
--- a/net/sched/cls_api.c
+++ b/net/sched/cls_api.c
@@ -2897,7 +2897,7 @@ static int tc_ctl_chain(struct sk_buff *skb, struct nlmsghdr *n,
break;
case RTM_GETCHAIN:
err = tc_chain_notify(chain, skb, n->nlmsg_seq,
- n->nlmsg_seq, n->nlmsg_type, true);
+ n->nlmsg_flags, n->nlmsg_type, true);
if (err < 0)
NL_SET_ERR_MSG(extack, "Failed to send chain notify message");
break;
--
2.32.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: sched: cls_api: Fix the the wrong parameter
2021-07-22 3:23 [PATCH] net: sched: cls_api: Fix the the wrong parameter Yajun Deng
@ 2021-07-22 7:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-07-22 7:50 UTC (permalink / raw)
To: Yajun Deng; +Cc: jhs, jiri, davem, kuba, netdev, linux-kernel
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 22 Jul 2021 11:23:43 +0800 you wrote:
> The 4th parameter in tc_chain_notify() should be flags rather than seq.
> Let's change it back correctly.
>
> Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
> Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
> ---
> net/sched/cls_api.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- net: sched: cls_api: Fix the the wrong parameter
https://git.kernel.org/netdev/net/c/9d85a6f44bd5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-22 7:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 3:23 [PATCH] net: sched: cls_api: Fix the the wrong parameter Yajun Deng
2021-07-22 7:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).