aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorMenglong Dong <menglong8.dong@gmail.com>2024-11-07 20:55:57 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-11-12 11:24:51 +0100
commit61b95c70f3449c1c0bd1415c8ef37e2959cf1c41 (patch)
tree40d966fd20815900d9d2bc2a3b097fb3207d18d9 /net/sched/cls_api.c
parentnet: ip: make ip_route_input_slow() return drop reasons (diff)
downloadwireguard-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