On Tue, Jul 5, 2016 at 4:54 PM, Jesse Gross <je...@kernel.org> wrote:
> On Fri, Jul 1, 2016 at 5:59 PM, Pravin B Shelar <pshe...@ovn.org> wrote:
>> diff --git a/datapath/linux/compat/include/linux/udp.h 
>> b/datapath/linux/compat/include/linux/udp.h
>> new file mode 100644
>> index 0000000..65cb77c
>> --- /dev/null
>> +++ b/datapath/linux/compat/include/linux/udp.h
> [...]
>> +static inline void udp_set_no_check6_rx(struct sock *sk, bool val)
>> +{
>> +#ifdef HAVE_SK_NO_CHECK_TX
>> +       sk->sk_no_check_rx = val;
>> +#endif
>> +}
>> +#endif
>
> I don't know that this is sufficient to have consistent behavior
> across old kernels. I think the only real way to solve the problem is
> to have a check in the receive path for the UDP checksum not zero.

OK, I added check in geneva and vxlan recv handler.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to