diff options
| author | Menglong Dong <menglong8.dong@gmail.com> | 2024-11-07 15:55:56 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-11-12 13:24:50 +0300 |
| commit | 5b92112acd8e2ed84a4df653fc20575f4da6fa49 (patch) | |
| tree | 390b1a92c61bbb5e15b3ae4b70bde2cc9fa57630 /rust/helpers/task.c | |
| parent | d46f827016d891dbc234cb05c406180f77fb3b2d (diff) | |
| download | linux-5b92112acd8e2ed84a4df653fc20575f4da6fa49.tar.xz | |
net: ip: make ip_route_input_slow() return drop reasons
In this commit, we make ip_route_input_slow() return skb drop reasons,
and following new skb drop reasons are added:
SKB_DROP_REASON_IP_INVALID_DEST
The only caller of ip_route_input_slow() is ip_route_input_rcu(), and we
adjust it by making it return -EINVAL on error.
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
