Project

General

Profile

Bug #1714 » source-netmap.c.diff

Vadim Fedorenko, 02/19/2016 04:56 AM

View differences:

source-netmap.c.orig → source-netmap.c
pdev->ref--;
if (!pdev->ref) {
munmap(pdev->mem, pdev->memsize);
for (int i = 0; i <= pdev->rings_cnt; i++) {
for (int i = pdev->rings_cnt; i >= 0; i--) {
NetmapRing *pring = &pdev->rings[i];
close(pring->fd);
SCSpinDestroy(&pring->tx_lock);
    (1-1/1)