VirtualBox

Ignore:
Timestamp:
Aug 14, 2019 4:05:03 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132733
Message:

NAT: bugref:9531: Scrub inbound URG pointer for now.

sorecvoob() has been wrong since forever, marking wrong place in the
stream as the end of the urgent data. For now just scrub it while we
investigate a proper fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/socket.c

    r76553 r80279  
    500500    if (RT_LIKELY(ret > 0))
    501501    {
     502        /*
     503         * @todo for now just scrub the URG pointer.  To faithfully
     504         * proxy URG we need to read the srteam until SIOCATMARK, and
     505         * then mark the first byte of the next read ar urgent.
     506         */
     507#if 0
    502508        tp->snd_up = tp->snd_una + SBUF_LEN(&so->so_snd);
     509#endif
    503510        tp->t_force = 1;
    504511        tcp_output(pData, tp);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette