diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-07 16:44:21 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-09 11:22:58 +0000 |
commit | 1330b6ef3313fcec577d2b020c290dc8b9f11f1a (patch) | |
tree | aa98eca413902a3677b68f4eb215e7893b3714bd /usr | |
parent | 1163319993f0abf8092d5f18fdff98096f7a3a73 (diff) |
skb: make drop reason booleanable
We have a number of cases where function returns drop/no drop
decision as a boolean. Now that we want to report the reason
code as well we have to pass extra output arguments.
We can make the reason code evaluate correctly as bool.
I believe we're good to reorder the reasons as they are
reported to user space as strings.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions