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
F140810080: D10230.id27084.diff
Sun, Dec 28, 8:14 AM
Unknown Object (File)
Sat, Nov 29, 5:44 PM
Unknown Object (File)
Nov 25 2025, 8:04 AM
Unknown Object (File)
Nov 23 2025, 3:29 PM
Unknown Object (File)
Nov 20 2025, 12:40 PM
Unknown Object (File)
Nov 17 2025, 11:41 PM
Unknown Object (File)
Oct 24 2025, 5:49 PM
Unknown Object (File)
Oct 23 2025, 4:13 AM
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.