[ovs-dev] [PATCH] datapath: Correctly validate vport attributes on old kernels.
Jesse Gross
jesse at nicira.com
Tue Sep 20 22:17:39 UTC 2011
On Tue, Sep 20, 2011 at 2:30 PM, Ben Pfaff <blp at nicira.com> wrote:
> 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>
Pushed as well.
More information about the dev
mailing list