Page MenuHomeFreeBSD

D33473.diff
No OneTemporary

D33473.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
Thu, Mar 5, 4:15 AM (12 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29270719
Default Alt Text
D33473.diff (567 B)

Event Timeline