datapath: Fix a double free bug for the sample action
authorAndy Zhou <azhou@nicira.com>
Tue, 15 Apr 2014 23:28:15 +0000 (16:28 -0700)
committerAndy Zhou <azhou@nicira.com>
Wed, 16 Apr 2014 20:28:15 +0000 (13:28 -0700)
commit40dd413d5b5424eb4cd2e6a8558d33f3b7c607ed
treec6e66b31d6784083637f59b49e2c998dd09aace1
parenteb7282ddfa7d9fe9ab89c7543456978e671f4335
datapath: 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.
datapath/actions.c