Changeset 75599 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/linux
- Timestamp:
- Nov 19, 2018 8:39:52 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126767
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.