Changeset 65455 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jan 26, 2017 1:59:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_input.c
r63562 r65455 141 141 hlen = ip->ip_hl << 2; 142 142 if ( hlen < sizeof(struct ip) 143 || hlen > m ->m_len)143 || hlen > mlen) 144 144 { 145 145 /* min header length */ … … 185 185 /* Should drop packet if mbuf too long? hmmm... */ 186 186 if (mlen > ip->ip_len) 187 m_adj(m, ip->ip_len - m ->m_len);187 m_adj(m, ip->ip_len - mlen); 188 188 189 189 /* source must be unicast */
Note:
See TracChangeset
for help on using the changeset viewer.