net: add rb_to_skb() and other rb tree helpers
authorEric Dumazet <edumazet@google.com>
Fri, 6 Oct 2017 05:21:21 +0000 (22:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 23:28:53 +0000 (00:28 +0100)
commit18a4c0eab2623cc95be98a1e6af1ad18e7695977
tree3523990ac022ba7e4fd89f1aa0521315d10d95ac
parentf5333f80c3b33183ce8b5b880adba028b728fbf6
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>
include/linux/skbuff.h
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_input.c
net/sched/sch_netem.c