Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1124

tapv2: deleting tap interface may leak buffers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Open
    • Icon: Medium Medium
    • None
    • None
    • Devices
    • None

      Buffers may be allocated for indirect descriptors by tx thread and are freed when tx thread is invoked in the next invocation. This is to allow the recipient (kernel) to have a chance to process them. But if the tap interface is deleted, the tx thread may not be called to clean up the indirect descriptors' buffers. We need to remove them without waiting for the tx thread to be called. Failure to do so may cause buffers leak when the tap interface is deleted.

            sluong steven luong
            sluong steven luong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: