]> git.proxmox.com Git - ovs.git/commit
compat: Fix up changes to inet frags in 5.1+
authorGreg Rose <gvrose8192@gmail.com>
Fri, 6 Mar 2020 22:37:14 +0000 (14:37 -0800)
committerBen Pfaff <blp@ovn.org>
Fri, 6 Mar 2020 22:39:24 +0000 (14:39 -0800)
commitf77d85b109f049a45c73fd2bbafe4d4220ca7c78
tree9046566275e1be73af9846e106cad12daf77094c
parentea58abe51557ea7004db4267fcf36f588e6f17c3
compat: Fix up changes to inet frags in 5.1+

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.

Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
acinclude.m4
datapath/linux/compat/include/net/inet_frag.h