[ovs-dev] [PATCH] datapath: Correctly validate vport attributes on old kernels.

Ben Pfaff blp at nicira.com
Tue Sep 20 21:30:58 UTC 2011


On Tue, Sep 20, 2011 at 02:05:22PM -0700, Jesse Gross wrote:
> 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>



More information about the dev mailing list