net: add rb_to_skb() and other rb tree helpers
authorEric Dumazet <edumazet@google.com>
Thu, 13 Sep 2018 14:58:57 +0000 (07:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:43:47 +0000 (22:43 +0200)
commit37c7cc80b1d7de36a6ed54796ae30ee091d05eab
treedfd3766b13c3fcaefff6bc6ad1bfeec5c4277eac
parent6bf32cda46ebfbaf13da3c48a0a009adae925703
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_fastopen.c
net/ipv4/tcp_input.c
net/sched/sch_netem.c