dpif-netdev: delete lost packets in dp_execute_cb()
authorDaniele Di Proietto <ddiproietto@vmware.com>
Wed, 25 Jun 2014 18:39:34 +0000 (11:39 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 25 Jun 2014 21:35:50 +0000 (14:35 -0700)
commit26a5075bb6a0c96a94ea5be7672185a2a8f3eedc
tree2995ad7917aac497a1451893b4a71e9305e3a99c
parent5c75f4beed9b3e540d8be0f31947c7d8e3271703
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