mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
net: sched: cls_api: Fix the the wrong parameter
[ Upstream commit9d85a6f44b
] The 4th parameter in tc_chain_notify() should be flags rather than seq. Let's change it back correctly. Fixes:32a4f5ecd7
("net: sched: introduce chain object to uapi") Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
50b57223da
commit
d682390655
1 changed files with 1 additions and 1 deletions
|
@ -1918,7 +1918,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;
|
||||
|
|
Loading…
Reference in a new issue