[PATCH 4/6] ws2_32: Ensure "select" does not wake up on packets with an interface mismatch

Erich Hoover ehoover at mines.edu
Wed Sep 30 13:01:00 CDT 2009


Real Name:
    Erich Hoover
Description:
    The attached patch ensures that calls to "select" on sockets with
an IP_PKTINFO filter do not wake up on packets that do not match the
bound interface.  Without this patch (but with the previous patches in
this set) a call to "select" on a UDP socket bound to a specific
interface would wake up on packets from other interfaces.  So, without
this patch a poorly written program might malfunction when it calls
"recv" after "select."
Changelog:
    ws2_32: Ensure "select" does not wake up on packets with an
interface mismatch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-ws2_32-Ensure-select-does-not-wake-up-on-packets.patch
Type: text/x-diff
Size: 5824 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090930/4f8c0866/attachment-0001.patch>


More information about the wine-patches mailing list