Changeset 75599 in vbox
- Timestamp:
- Nov 19, 2018 8:39:52 PM (6 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r69500 r75599 127 127 }; 128 128 129 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19) 129 130 static const struct ethtool_ops gEthToolOpsVBoxNetAdp = 131 # else 132 static struct ethtool_ops gEthToolOpsVBoxNetAdp = 133 # endif 130 134 { 131 135 .get_drvinfo = vboxNetAdpEthGetDrvinfo, -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r73097 r75599 689 689 struct sk_buff *pPkt; 690 690 struct net_device *pDev; 691 #if defined(VBOXNETFLT_WITH_GSO_XMIT_WIRE) || defined(VBOXNETFLT_WITH_GSO_XMIT_HOST) 691 692 unsigned fGsoType = 0; 693 #endif 692 694 693 695 if (pSG->cbTotal == 0) … … 1782 1784 } 1783 1785 1786 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18) 1787 DECLINLINE(void) netif_tx_lock_bh(struct net_device *pDev) 1788 { 1789 spin_lock_bh(&pDev->xmit_lock); 1790 } 1791 1792 DECLINLINE(void) netif_tx_unlock_bh(struct net_device *pDev) 1793 { 1794 spin_unlock_bh(&pDev->xmit_lock); 1795 } 1796 #endif 1797 1784 1798 /** 1785 1799 * Some devices need link state change when filter attaches/detaches -
trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
r75576 r75599 448 448 int iCmdLen; 449 449 const int cMaxBuf = 128; 450 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) 450 451 const struct cred *pOldCreds; 451 452 struct cred *pNewCreds; 453 #endif 452 454 453 455 /*
Note:
See TracChangeset
for help on using the changeset viewer.