[ovs-dev] [PATCH v2 09/24] datapath: compat: Update udp_sock_create

Jesse Gross jesse at kernel.org
Thu Jun 30 22:22:39 UTC 2016


On Thu, Jun 30, 2016 at 1:06 AM, Pravin B Shelar <pshelar at ovn.org> wrote:
> diff --git a/datapath/linux/compat/include/net/udp.h b/datapath/linux/compat/include/net/udp.h
> index 41254aa..fc46d89 100644
> --- a/datapath/linux/compat/include/net/udp.h
> +++ b/datapath/linux/compat/include/net/udp.h
[...]
> +static inline void udp_set_no_check6_rx(struct sock *sk, bool val)
> +{
> +}

I think this will result in different behavior on different kernels -
with the backport, IPv6 frames with zero UDP checksum will be accepted
but upstream they will be rejected.



More information about the dev mailing list