Page MenuHomeFreeBSD

hyperv/hn: Fixat RNDIS rxfilter after the successful RNDIS initialization
ClosedPublic

Authored by sepherosa_gmail.com on Apr 1 2017, 3:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 3, 9:07 PM
Unknown Object (File)
Sat, Feb 28, 2:29 PM
Unknown Object (File)
Tue, Feb 24, 9:14 PM
Unknown Object (File)
Wed, Feb 18, 5:13 PM
Unknown Object (File)
Jan 23 2026, 5:26 PM
Unknown Object (File)
Jan 18 2026, 1:20 AM
Unknown Object (File)
Jan 17 2026, 12:25 AM
Unknown Object (File)
Jan 16 2026, 11:01 PM
Subscribers
None

Details

Summary

Under certain conditions on certain versions of Hyper-V, the RNDIS rxfilter is _not_ zero on the hypervisor side after the successful RNDIS initialization, which breaks the assumption of any following code (well, it breaks the RNDIS API contract actually). Clear the RNDIS rxfilter explicitly, drain packets sneaking through, and drain the interrupt taskqueues scheduled due to the stealth packets.

Reported-by: dexuan@

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was automatically updated to reflect the committed changes.