From 4a2c3c9ecbcf4f3c20d1420361d4a36eed57a15b Mon Sep 17 00:00:00 2001 From: bluhm Date: Fri, 2 Feb 2024 15:39:23 +0000 Subject: [PATCH] In in_pcbrtentry() add missing return of in6_pcbrtentry() value. Reported-by: syzbot+5f2286d5962355f0cfd8@syzkaller.appspotmail.com OK kn@ --- sys/netinet/in_pcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 36ff7553a5b..fd6417eead0 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.288 2024/01/31 12:27:57 bluhm Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.289 2024/02/02 15:39:23 bluhm Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -911,7 +911,7 @@ in_pcbrtentry(struct inpcb *inp) #ifdef INET6 if (ISSET(inp->inp_flags, INP_IPV6)) - in6_pcbrtentry(inp); + return in6_pcbrtentry(inp); #endif ro = &inp->inp_route; -- 2.20.1