]> git.openfabrics.org - ~emulex/infiniband.git/commit
openvswitch: Fix a double free bug for the sample action
authorAndy Zhou <azhou@nicira.com>
Wed, 7 May 2014 00:23:48 +0000 (17:23 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Sun, 29 Jun 2014 21:10:43 +0000 (14:10 -0700)
commitfe984c08e20f0fc2b4666bf8eeeb02605568387b
tree671315d3508f8a202c4187062a83ab24beed0e7f
parentdba63115ce0c888fcb4cdec3f8a4ba97d144afaf
openvswitch: Fix a double free bug for the sample action

When sample action returns with an error, the skb has already been
freed. This patch fix a bug to make sure we don't free it again.
This bug introduced by commit ccb1352e76cff05 (net: Add Open vSwitch
kernel components.)

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
net/openvswitch/actions.c