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:
+1
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user