Changeset 17344 in vbox
- Timestamp:
- Mar 4, 2009 1:29:01 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43727
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r17188 r17344 1141 1141 Log(("vboxNetFltOsDeleteInstance: this=%p: Notifier removed.\n", pThis)); 1142 1142 unregister_netdevice_notifier(&pThis->u.s.Notifier); 1143 module_put(THIS_MODULE); 1143 1144 } 1144 1145 … … 1147 1148 { 1148 1149 int err; 1150 NOREF(pvContext); 1151 1149 1152 pThis->u.s.Notifier.notifier_call = vboxNetFltLinuxNotifierCallback; 1150 1153 err = register_netdevice_notifier(&pThis->u.s.Notifier); … … 1159 1162 1160 1163 Log(("vboxNetFltOsInitInstance: this=%p: Notifier installed.\n", pThis)); 1161 NOREF(pvContext); 1162 return pThis->fDisconnectedFromHost ? VERR_INTNET_FLT_IF_FAILED : VINF_SUCCESS; 1164 if (!pThis->fDisconnectedFromHost) 1165 { 1166 __module_get(THIS_MODULE); 1167 return VINF_SUCCESS; 1168 } 1169 1170 return VERR_INTNET_FLT_IF_FAILED; 1163 1171 } 1164 1172
Note:
See TracChangeset
for help on using the changeset viewer.