]> git.baikalelectronics.ru Git - kernel.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)
commit71be70f87dec9b7161e5a7235eb1fce51001f125
tree671315d3508f8a202c4187062a83ab24beed0e7f
parent7b1362200466711d9ad0efed3de9fc06e4005b45
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 a4f3d0bcc179e79 (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