Page MenuHomeFreeBSD

D33473.id100146.diff
No OneTemporary

D33473.id100146.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
Sun, Oct 11, 10:23 PM (1 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40630859
Default Alt Text
D33473.id100146.diff (567 B)

Event Timeline