Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151665418
D7554.id19440.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1022 B
Referenced Files
None
Subscribers
None
D7554.id19440.diff
View Options
Index: sys/dev/hyperv/netvsc/hv_net_vsc.h
===================================================================
--- sys/dev/hyperv/netvsc/hv_net_vsc.h
+++ sys/dev/hyperv/netvsc/hv_net_vsc.h
@@ -236,8 +236,6 @@
/* Holds rndis device info */
void *extension;
- uint8_t destroy;
-
uint32_t num_channel;
struct hyperv_dma rxbuf_dma;
Index: sys/dev/hyperv/netvsc/hv_net_vsc.c
===================================================================
--- sys/dev/hyperv/netvsc/hv_net_vsc.c
+++ sys/dev/hyperv/netvsc/hv_net_vsc.c
@@ -88,7 +88,6 @@
net_dev = malloc(sizeof(netvsc_dev), M_NETVSC, M_WAITOK | M_ZERO);
net_dev->sc = sc;
- net_dev->destroy = FALSE;
sc->net_dev = net_dev;
return (net_dev);
@@ -734,9 +733,6 @@
{
netvsc_dev *net_dev = sc->net_dev;;
- /* Stop outbound traffic ie sends and receives completions */
- net_dev->destroy = TRUE;
-
hv_nv_disconnect_from_vsp(net_dev);
/* At this point, no one should be accessing net_dev except in here */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 9:14 PM (7 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31246193
Default Alt Text
D7554.id19440.diff (1022 B)
Attached To
Mode
D7554: hyperv/hn: Remove assign-only struct field
Attached
Detach File
Event Timeline
Log In to Comment