ws2_32: Fix interface-bound filter to accept locally generated targeted packets.

Erich E. Hoover erich.e.hoover at gmail.com
Sun Jun 23 21:30:43 CDT 2013


This patch fixes a regression resulting from fixing Bug 7929.  The
patch fixes a problem where some network applications talk to
themselves over a local (though non-loopback) socket and the filter
drops these packets.  With such packets (since they are non-broadcast)
the kernel does not set the interface index, so the existing filter
does not permit the packet through to the application even though it
should.  The patch corrects this by checking the destination address
in addition to the interface index, allowing either a matching
interface index or destination address to let the packet through.

Also, sorry I haven't been around much lately - I've been busy with a new job.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Fix-interface-bound-filter-to-accept-locally-.patch
Type: application/octet-stream
Size: 2901 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130623/b61ee7f6/attachment.obj>


More information about the wine-patches mailing list