diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-05-30 13:40:11 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-02 16:16:06 -0700 |
commit | b926260c05517478a53cc029035c8eb2d8ca2715 (patch) | |
tree | 3734718e8bd9af893e2de3c0e1d90c6eec49377d /lib/test_bpf.c | |
parent | eee492ea35bd6f4bac229744eb0593547fb30826 (diff) | |
download | linux-b926260c05517478a53cc029035c8eb2d8ca2715.tar.bz2 |
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 <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions