diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-14 02:52:48 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-14 02:52:48 +0000 |
commit | efdbe71abb660f72d2023df2d5e1ea828a421284 (patch) | |
tree | 57b3426ba7ece24c2b10f09c2c399d4bb839c740 /contrib/diff/src | |
parent | 529eae536f09519ac74908d8591a257dd455d79a (diff) | |
download | FreeBSD-src-efdbe71abb660f72d2023df2d5e1ea828a421284.zip FreeBSD-src-efdbe71abb660f72d2023df2d5e1ea828a421284.tar.gz |
MFC 306390-306392
306390
hyperv/hn: Suspend and resume the backend properly upon MTU change.
Suspend:
- Prevent the backend from being touched on TX path.
- Clear the RNDIS RX filter, and wait for RX to drain.
- Make sure that NVS see the chimney sending buffer and RXBUF
disconnection, before unlink these buffers from the channel.
Resume:
- Reconfigure the RNDIS filter.
- Allow TX path to work on the backend.
- Kick start the TX eof task, in case the OACTIVE is set.
This fixes various panics, when the interface has traffic and MTU
is being changed.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8046
306391
hyperv/hn: Reorganize the synthetic parts detach.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8047
306392
hyperv/hn: Reorder the comment a little bit.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8048
Diffstat (limited to 'contrib/diff/src')
0 files changed, 0 insertions, 0 deletions