Page MenuHomeFreeBSD

D33473.id.diff
No OneTemporary

D33473.id.diff

diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -491,7 +491,6 @@
break;
}
}
- m_freem(m);
if (appends == 0) {
/*
@@ -505,6 +504,7 @@
else
UDPSTAT_INC(udps_noportbcast);
}
+ m_freem(m);
return (IPPROTO_DONE);
}
@@ -637,7 +637,7 @@
if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) ||
in_broadcast(ip->ip_dst, ifp))
- return (udp_multi_input(m, proto, udp_in));
+ return (udp_multi_input(m, proto, udp_in));
pcbinfo = udp_get_inpcbinfo(proto);

File Metadata

Mime Type
text/plain
Expires
Fri, Jun 26, 1:48 AM (2 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34335974
Default Alt Text
D33473.id.diff (567 B)

Event Timeline