]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 309085
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 29 Dec 2016 06:48:10 +0000 (06:48 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 29 Dec 2016 06:48:10 +0000 (06:48 +0000)
commit10c12c8aa4b2f646cd3dfc151ef7ee1fbd111cbd
tree852984eeca029cee42700ee3bfb4670f3f3747a9
parentff2e0f37e71f665db3f1f091d7ead5ccac0ec22a
MFC 309085

    hyperv/hn: Fix primary channel revocation

    Since hypervisor will not drain the TX bufring, once the channels are
    revoked:
    - Setup vmbus orphan handler properly.
    - Make sure that suspension will not wait the TX bufring draining
      forever.
    - GC the pending TX descs on detach path, before freeing the busdma
      stuffs.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8559

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