diff options
author | Eric Dumazet <edumazet@google.com> | 2023-03-06 23:43:13 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-08 10:57:19 +0300 |
commit | 40bbae583ec38ea31e728bf42a4ea72bded22ab6 (patch) | |
tree | 91ac3678a5b39fe1e0c57dfdf90d2f2c1a404dca /net/unix/scm.c | |
parent | 0194b64578e905dc8f112e641a71c306bd58ddde (diff) | |
download | linux-40bbae583ec38ea31e728bf42a4ea72bded22ab6.tar.xz |
net: remove enum skb_free_reason
enum skb_drop_reason is more generic, we can adopt it instead.
Provide dev_kfree_skb_irq_reason() and dev_kfree_skb_any_reason().
This means drivers can use more precise drop reasons if they want to.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Link: https://lore.kernel.org/r/20230306204313.10492-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions