]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: fix a memory leak
authorLi RongQing <roy.qing.li@gmail.com>
Tue, 2 Sep 2014 12:52:28 +0000 (20:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 21:01:21 +0000 (14:01 -0700)
commit825bf1cada94e6b8b155ce47282623fddd99e46e
treec2a32f22db45511bfd6c896759bbbe5e15136032
parentd4e4df6a0b13fca16de06c5753617423c587d97b
openvswitch: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c