Changeset 80735 in vbox for trunk/src/VBox
- Timestamp:
- Sep 11, 2019 2:35:34 PM (5 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r79643 r80735 2124 2124 if (in_dev != NULL) 2125 2125 { 2126 for_ifa(in_dev) { 2126 struct in_ifaddr *ifa; 2127 2128 for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) { 2127 2129 if (VBOX_IPV4_IS_LOOPBACK(ifa->ifa_address)) 2128 2130 return NOTIFY_OK; … … 2138 2140 pThis->pSwitchPort->pfnNotifyHostAddress(pThis->pSwitchPort, 2139 2141 /* :fAdded */ true, kIntNetAddrType_IPv4, &ifa->ifa_address); 2140 } endfor_ifa(in_dev);2142 } 2141 2143 } 2142 2144 -
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r76553 r80735 284 284 { 285 285 /* Fire the function on all other CPUs without waiting for completion. */ 286 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 286 # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) 287 smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* wait */); 288 # elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 287 289 int rc = smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* wait */); 290 Assert(!rc); NOREF(rc); 288 291 # else 289 292 int rc = smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* retry */, 0 /* wait */); 290 # endif291 293 Assert(!rc); NOREF(rc); 294 # endif 292 295 } 293 296 #endif … … 327 330 #ifdef CONFIG_SMP 328 331 IPRT_LINUX_SAVE_EFL_AC(); 329 int rc;330 332 RTMPARGS Args; 331 333 … … 338 340 339 341 RTThreadPreemptDisable(&PreemptState); 340 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 341 rc = smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */); 342 # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0) 343 smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */); 344 # elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 345 int rc = smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */); 346 Assert(rc == 0); NOREF(rc); 342 347 # else /* older kernels */ 343 rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */); 348 int rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */); 349 Assert(rc == 0); NOREF(rc); 344 350 # endif /* older kernels */ 345 351 RTThreadPreemptRestore(&PreemptState); 346 352 347 Assert(rc == 0); NOREF(rc);348 353 IPRT_LINUX_RESTORE_EFL_AC(); 349 354 #else
Note:
See TracChangeset
for help on using the changeset viewer.