OSDN Git Service

skbuff: Call skb_zcopy_clear() before unref'ing fragments
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 6 Jan 2021 22:18:36 +0000 (14:18 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Jan 2021 00:06:38 +0000 (16:06 -0800)
commit70c4316749f605a31fe31215eb9eceafbd69ec67
tree5365bec4aa1d8c4acd40aa76fde8cd2cb3f5daea
parent236a6b1cd585a408139550201343f3f16f9324b9
skbuff: Call skb_zcopy_clear() before unref'ing fragments

RX zerocopy fragment pages which are not allocated from the
system page pool require special handling.  Give the callback
in skb_zcopy_clear() a chance to process them first.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/skbuff.c