dpif-netdev: delete lost packets in dp_execute_cb()
authorDaniele Di Proietto <ddiproietto@vmware.com>
Wed, 25 Jun 2014 20:39:45 +0000 (13:39 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 25 Jun 2014 21:50:49 +0000 (14:50 -0700)
commit551cadc06ef046e97845757d6bb980415ae6c6e4
treee164f6ef646e53c85c564f8769ffe9009d11ccd1
parentc4f9cffed2ae1736cd43bbfaab4d0af7e743f5fd
dpif-netdev: delete lost packets in dp_execute_cb()

This commit fixes memory leaks in dp_execute_cb() in two cases:
    - when the output port cannot be found
    - when the recirculation depth is exceeded

Reported-by: Pravin Shelar <pshelar@nicira.com>
Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/dpif-netdev.c