Revert "UPSTREAM: net: avoid one loop iteration in __skb_splice_bits"

This reverts commit 60ca34a631.

Reason for revert: incorrectly tagged as UPSTREAM

Change-Id: If7b840ed76b14047e465ae18e4c6928d5fba0d59
Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
Giuliano Procida
2025-08-22 09:42:23 -07:00
parent 8aaaf75e3e
commit 854140e689
+1 -3
View File
@@ -3149,9 +3149,7 @@ static bool __splice_segment(struct page *page, unsigned int poff,
poff += flen;
plen -= flen;
*len -= flen;
if (!*len)
return true;
} while (plen);
} while (*len && plen);
return false;
}