[ovs-git] Open vSwitch: vport-capwap: Fix use-after-free on error path. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 21 22:34:50 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  b59da960549140e495e0fdcff086a62ebcdf5287 (commit)
      from  7257b535ab8e5fafd811c5f6788205eefdd44948 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b59da960549140e495e0fdcff086a62ebcdf5287
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b59da960549140e495e0fdcff086a62ebcdf5287
Author: Ben Pfaff <blp at nicira.com>
		
vport-capwap: Fix use-after-free on error path.
		
I originally meant just to fix the use of kfree_skb() instead of
consume_skb() on the success path, but then I realized that the failure
path returned an skb that it had just freed.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/vport-capwap.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list