diff options
| author | Ricardo Ribalda <ricardo.ribalda@gmail.com> | 2013-10-01 08:17:10 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-10-01 12:31:35 -0400 |
| commit | 7167cf0e8cd10287b7912b9ffcccd9616f382922 (patch) | |
| tree | 76ec0f2285b407f56c192e5b3c9f842abf29336d /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | skbuff: size of hole is wrong in a comment (diff) | |
| download | linux-7167cf0e8cd10287b7912b9ffcccd9616f382922.tar.gz linux-7167cf0e8cd10287b7912b9ffcccd9616f382922.zip | |
ll_temac: Reset dma descriptors indexes on ndo_open
The dma descriptors indexes are only initialized on the probe function.
If a packet is on the buffer when temac_stop is called, the dma
descriptors indexes can be left on a incorrect state where no other
package can be sent.
So an interface could be left in an usable state after ifdow/ifup.
This patch makes sure that the descriptors indexes are in a proper
status when the device is open.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
