net: add rb_to_skb() and other rb tree helpers
authorEric Dumazet <edumazet@google.com>
Wed, 10 Oct 2018 19:30:12 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:13:26 +0000 (09:13 +0200)
commitb475cf3bf1e8212b0287c6d15249e2c942693ae5
treebd04980d8d722b7848718a634b45dc02d3d72c3c
parent791521e2e377f66ef5ee6e5002dec758234d8d32
net: add rb_to_skb() and other rb tree helpers

Geeralize private netem_rb_to_skb()

TCP rtx queue will soon be converted to rb-tree,
so we will need skb_rbtree_walk() helpers.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 18a4c0eab2623cc95be98a1e6af1ad18e7695977)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/skbuff.h
net/ipv4/tcp_input.c