[ovs-dev] [PATCH openvswitch] linux: Signal datapath that unaligned Netlink message can be received

Thomas Graf tgraf at redhat.com
Wed Nov 27 22:41:29 UTC 2013


On 11/26/2013 12:41 AM, Jesse Gross wrote:
> On Thu, Nov 21, 2013 at 10:15 AM, Thomas Graf <tgraf at redhat.com> wrote:
>> diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c
>> index 1dcf321..5c952bc 100644
>> --- a/lib/dpif-linux.c
>> +++ b/lib/dpif-linux.c
>> @@ -232,6 +233,7 @@ dpif_linux_open(const struct dpif_class *class OVS_UNUSED, const char *name,
>>           dp_request.cmd = OVS_DP_CMD_GET;
>>       }
>>       dp_request.name = name;
>> +    dp_request.user_features |= OVS_DP_F_UNALIGNED;
>
> Should we restrict this to just OVS_DP_CMD_NEW?

I'm fine either way. We currently disregard user features in GET.



More information about the dev mailing list