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. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev