]> git.proxmox.com Git - mirror_ovs.git/commit - datapath/datapath.c
datapath: fix a memory leak
authorLi RongQing <roy.qing.li@gmail.com>
Tue, 2 Sep 2014 20:31:12 +0000 (13:31 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 2 Sep 2014 22:09:00 +0000 (15:09 -0700)
commit82706a6f1271e07c8acd7dea3cfdff0279b968a6
tree589aeb015f298e1085b5348ed32fc2c668062b64
parentb1bf47f2251507f45d0c333314501c51207701aa
datapath: fix a memory leak

The user_skb maybe be leaked if the operation on it failed and codes
skipped into the label "out:" without calling genlmsg_unicast.

Cc: Pravin Shelar <pshelar@nicira.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/datapath.c