aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2014-05-30 16:40:11 +0000
committerDavid S. Miller <[email protected]>2014-06-02 23:16:06 +0000
commitb926260c05517478a53cc029035c8eb2d8ca2715 (patch)
tree3734718e8bd9af893e2de3c0e1d90c6eec49377d /drivers/net/xen-netback/interface.c
parentnet: mv643xx_eth: Drop the NETDEV_TX_BUSY return path (diff)
downloadkernel-b926260c05517478a53cc029035c8eb2d8ca2715.tar.gz
kernel-b926260c05517478a53cc029035c8eb2d8ca2715.zip
net: mv643xx_eth: Avoid unmapping the TSO header buffers
The buffers for the TSO headers belong to a DMA coherent region which is allocated at ndo_open() time, and released at ndo_stop() time. Therefore, and contrary to the TSO payload descriptor buffers, the TSO header buffers don't need to be unmapped. This commit adds a check to detect a TSO header buffer and explicitly prevent the unmap. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions