]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 316520
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Apr 2017 03:23:57 +0000 (03:23 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Apr 2017 03:23:57 +0000 (03:23 +0000)
commit3533fa85e7f418816cffb592fafce89498c7163b
treefe97c097e099d9999147669fa72e56b23c307135
parent50c66c9df94ca6424d7bd1e203b09394968e3a53
MFC 316520

    hyperv/hn: Fixat RNDIS rxfilter after the successful RNDIS init.

    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@
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D10230

git-svn-id: svn://svn.freebsd.org/base/stable/10@316672 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hyperv/netvsc/hn_rndis.c
sys/dev/hyperv/netvsc/hn_rndis.h
sys/dev/hyperv/netvsc/if_hn.c