Changeset 32745 in vbox
- Timestamp:
- Sep 24, 2010 6:32:57 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r32744 r32745 752 752 753 753 size = MCLBYTES; 754 if (len < MSIZE)754 if (len + if_maxlinkhdr < MSIZE) 755 755 size = MCLBYTES; 756 else if (len < MCLBYTES)756 else if (len + if_maxlinkhdr < MCLBYTES) 757 757 size = MCLBYTES; 758 else if (len < MJUM9BYTES)758 else if (len + if_maxlinkhdr < MJUM9BYTES) 759 759 size = MJUM9BYTES; 760 else if (len < MJUM16BYTES)760 else if (len + if_maxlinkhdr < MJUM16BYTES) 761 761 size = MJUM16BYTES; 762 762 else
Note:
See TracChangeset
for help on using the changeset viewer.