Re: [syzbot] [net?] WARNING in sk_skb_reason_drop
From: Hillf Danton
Date: Sat Nov 16 2024 - 19:04:52 EST
On Sat, 16 Nov 2024 10:32:25 -0800
> syzbot found the following issue on:
>
> HEAD commit: a58f00ed24b8 net: sched: cls_api: improve the error messag..
> git tree: net-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14f481a7980000
#syz test
--- x/net/ipv4/route.c
+++ y/net/ipv4/route.c
@@ -2478,7 +2478,7 @@ ip_route_input_rcu(struct sk_buff *skb,
int our = 0;
if (!in_dev)
- return -EINVAL;
+ return reason;
our = ip_check_mc_rcu(in_dev, daddr, saddr,
ip_hdr(skb)->protocol);
--