Changeset 22971 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 12, 2009 6:23:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/udp.c
r22843 r22971 158 158 { 159 159 bootp_input(pData, m); 160 goto bad;160 goto done; 161 161 } 162 162 … … 174 174 m->m_len -= sizeof(struct udpiphdr); 175 175 udp_output2(pData, NULL, m, &src, &dst, IPTOS_LOWDELAY); 176 goto bad;176 goto done; 177 177 } 178 178 /* … … 183 183 { 184 184 tftp_input(pData, m); 185 goto bad;185 goto done; 186 186 } 187 187 … … 301 301 Log2(("NAT: UDP datagram to %R[IP4] with size(%d) claimed as bad\n", 302 302 &ip->ip_dst, ip->ip_len)); 303 done: 304 /* some services like bootp(built-in), dns(buildt-in) and dhcp don't need sockets 305 * and create new m'buffers to send them to guest, so we'll free their incomming 306 * buffers here. 307 */ 303 308 m_freem(pData, m); 304 309 return;
Note:
See TracChangeset
for help on using the changeset viewer.