diff options
author | Victor Nogueira <victor@mojatatu.com> | 2023-12-16 21:44:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-20 12:50:13 +0100 |
commit | b6a3c6066afc2cb7b92f45c67ab0b12ded81cb11 (patch) | |
tree | 6dd00a5baf30739183dd6e99509197cec21ca111 /kernel/pid_sysctl.h | |
parent | net: sched: Move drop_reason to struct tc_skb_cb (diff) | |
download | linux-b6a3c6066afc2cb7b92f45c67ab0b12ded81cb11.tar.xz linux-b6a3c6066afc2cb7b92f45c67ab0b12ded81cb11.zip |
net: sched: Make tc-related drop reason more flexible for remaining qdiscs
Incrementing on Daniel's patch[1], make tc-related drop reason more
flexible for remaining qdiscs - that is, all qdiscs aside from clsact.
In essence, the drop reason will be set by cls_api and act_api in case
any error occurred in the data path. With that, we can give the user more
detailed information so that they can distinguish between a policy drop
or an error drop.
[1] https://lore.kernel.org/all/20231009092655.22025-1-daniel@iogearbox.net
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/pid_sysctl.h')
0 files changed, 0 insertions, 0 deletions