[ovs-git] Open vSwitch: datapath: Correctly validate vport attributes on old kernels. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Sep 20 22:17:35 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  d48c88ecdbab481a210a1d02a616a30ee261cabf (commit)
      from  96871912a16c25bdc18bb22db79485b0fa80a87d (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 d48c88ecdbab481a210a1d02a616a30ee261cabf
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d48c88ecdbab481a210a1d02a616a30ee261cabf
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Correctly validate vport attributes on old kernels.
		
The vport policy for OVS_VPORT_ATTR_PORT_NO and OVS_VPORT_ATTR_TYPE
are present only in the section for newer kernels.  This means that
on older kernels the length of these attributes are never checked
anywhere but we go ahead and read from them anyways.

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


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

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


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list