diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-02-02 15:39:24 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-02-02 15:39:24 +0000 |
commit | b0ff69afd6e7bd4bed74c5f8ae59614b263d3820 (patch) | |
tree | e83704b08c1be938b8b693333af567a19ec99030 /sys | |
parent | 5e2edfefc48a28b4eadf93db402e9accef7ab107 (diff) |
In in_pcbrtentry() add missing return of in6_pcbrtentry() value.
Reported-by: syzbot+5f2286d5962355f0cfd8@syzkaller.appspotmail.com
OK kn@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files 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; |