[ovs-dev] [PATCH V3 2/9] compat: Fix up changes to inet frags in 5.1+

Yi-Hung Wei yihung.wei at gmail.com
Fri Mar 6 18:27:06 UTC 2020


On Wed, Mar 4, 2020 at 3:04 PM Greg Rose <gvrose8192 at gmail.com> wrote:
>
> Since Linux kernel release 5.1 the fragments field of the inet_frag_queue
> structure is removed and now only the rb_fragments structure with an
> rb_node pointer is used for both ipv4 and ipv6.  In addition, the
> atomic_sub and atomic_add functions are replaced with their
> equivalent long counterparts.
>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---
> V3 - Use HAVE_CORRECT_MRU_HANDLING instead of less reliable kernel
>      version check for compile time handling of the rb_fragments
>      change.
> ---

Looks good to me.

Acked-by: Yi-Hung Wei <yihung.wei at gmail.com>

Thanks,

-Yi-Hung


More information about the dev mailing list