[ovs-git] [openvswitch/ovs] 82706a: datapath: fix a memory leak

GitHub noreply at github.com
Tue Sep 2 22:09:10 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 82706a6f1271e07c8acd7dea3cfdff0279b968a6
      https://github.com/openvswitch/ovs/commit/82706a6f1271e07c8acd7dea3cfdff0279b968a6
  Author: Li RongQing <roy.qing.li at gmail.com>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M datapath/datapath.c

  Log Message:
  -----------
  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 at nicira.com>
Signed-off-by: Li RongQing <roy.qing.li at gmail.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>




More information about the git mailing list