net: modify skb_rbtree_purge to return the truesize of all purged skbs.
authorPeter Oskolkov <posk@google.com>
Wed, 10 Oct 2018 19:30:09 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:13:25 +0000 (09:13 +0200)
commit871695951ec6f6b0b1a258c9bb5336bfeffab409
treedaa9f42740af5eb87492969dddb7e3d757d42aeb
parentf5d17b55f4be318adf3b642b50bd25e5245ecc17
net: modify skb_rbtree_purge to return the truesize of all purged skbs.

Tested: see the next patch is the series.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 385114dec8a49b5e5945e77ba7de6356106713f4)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/skbuff.h
net/core/skbuff.c