diff options
author | 2024-11-07 20:55:57 +0800 | |
---|---|---|
committer | 2024-11-12 11:24:51 +0100 | |
commit | 61b95c70f3449c1c0bd1415c8ef37e2959cf1c41 (patch) | |
tree | 40d966fd20815900d9d2bc2a3b097fb3207d18d9 /net/sched/cls_api.c | |
parent | net: ip: make ip_route_input_slow() return drop reasons (diff) | |
download | wireguard-linux-61b95c70f3449c1c0bd1415c8ef37e2959cf1c41.tar.xz wireguard-linux-61b95c70f3449c1c0bd1415c8ef37e2959cf1c41.zip |
net: ip: make ip_route_input_rcu() return drop reasons
In this commit, we make ip_route_input_rcu() return drop reasons, which
come from ip_route_input_mc() and ip_route_input_slow().
The only caller of ip_route_input_rcu() is ip_route_input_noref(). We
adjust it by making it return -EINVAL on error and ignore the reasons that
ip_route_input_rcu() returns. In the following patch, we will make
ip_route_input_noref() returns the drop reasons.
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions