#1 Fixed a serious error. #2 Fixed a logical error, but this error did not cause any serious consequences. The logic of this piece is really messy. Fortunately, my refactored patch can be completed with a small amount of testing. Thanks. Xuan Zhuo (2): virtio-net: fix for unable to handle page fault for address virtio_net: get build_skb() buf by data ptr drivers/net/virtio_net.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) -- 2.31.0