diff options
author | Pierre Pfister <ppfister@cisco.com> | 2016-03-21 12:21:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-03-22 11:48:32 +0000 |
commit | 3a8f32be9f67546d51de110efa2ada6bcceb454f (patch) | |
tree | d04a81a353b4a1c16a0245bfe3a27238d462b781 /sample-plugin/sample | |
parent | d56209695a5217a97723345b040beb0e6f10874b (diff) |
tapcli: Receive vector of packets and memory leak fix
tapcli interfaces were creating single-packet frames.
It now calls readv until the frame is full, or
readv returns error EAGAIN.
This is usefull when a significant amount of traffic
flows through tap interfaces.
This patch also fixes a memory leak by correctly
initializing b->clone_count to zero.
Change-Id: I15e435ba76d542be2f263274e76297425cd10243
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'sample-plugin/sample')
0 files changed, 0 insertions, 0 deletions