Changeset 27443 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Mar 17, 2010 12:51:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r27441 r27443 1059 1059 if (RT_N2H_U16(ip->ip_len) < hlen + ICMP_MINLEN) 1060 1060 { 1061 1061 Log(("send_icmp_to_guest: ICMP header is too small to understand which type/subtype of the datagram\n")); 1062 1062 return; 1063 1063 } … … 1137 1137 else 1138 1138 { 1139 int size = m->m_size; 1139 1140 m_inc(m, len); /*increase the room of the mbuf up to len*/ 1141 if (size == m->m_size) 1142 { 1143 Log(("send_icmp_to_guest: extending buffer was failed (packet is dropped)\n")); 1144 return; 1145 } 1140 1146 memcpy(m->m_data + original_hlen, buff + hlen, len - hlen); 1141 1147 }
Note:
See TracChangeset
for help on using the changeset viewer.