[ovs-git] Open vSwitch: datapath: Check IS_ERR() in do_execute(). (master)

dev at openvswitch.org dev at openvswitch.org
Thu Sep 16 00:45:04 UTC 2010


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  8ba1fd2fb9eb616ec028027e303c1664185c88e7 (commit)
      from  a154533795474bd8d13a2a935c4b6719215d6907 (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 8ba1fd2fb9eb616ec028027e303c1664185c88e7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8ba1fd2fb9eb616ec028027e303c1664185c88e7
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Check IS_ERR() in do_execute().
		
flow_actions_alloc() returns an error code in the form of a pointer
but we checked that the pointer was not NULL, which is always true.
This caused oopses on allocation errors when we would write into
an invalid pointer.

NIC-234

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


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

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


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list