Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strparser: Call skb_unclone conditionally
Calling skb_unclone() is expensive as it triggers a memcpy operation. Instead of calling skb_unclone() unconditionally, call it only when skb has a shared frag_list. This improves tls rx throughout significantly. Signed-off-by: Vakul Garg <[email protected]> Suggested-by: Boris Pismenny <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information