diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 8e8547a4292..719b39985a0 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -446,7 +446,6 @@ udp_multi_input(struct mbuf *m, int proto, struct sockaddr_in *udp_in) else UDP_PROBE(receive, NULL, inp, ip, inp, uh); if (udp_append(inp, ip, n, sizeof(struct ip), udp_in)) { - INP_RUNLOCK(inp); break; } else appends++; diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index b6390f800d9..b491a41a7a4 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -312,7 +312,6 @@ udp6_multi_input(struct mbuf *m, int off, int proto, UDP_PROBE(receive, NULL, inp, ctx.ip6, inp, ctx.uh); if (udp6_append(inp, n, off, fromsa)) { - INP_RUNLOCK(inp); break; } else appends++;