aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorlinzhang <[email protected]>2017-07-17 09:25:02 +0000
committerDavid S. Miller <[email protected]>2017-07-17 15:56:50 +0000
commit3ccc6c6faaa93da70989177b91c7c3ef0df10937 (patch)
tree4fcc27c0a605eae9a6a8740d5933c6030fc9837a /net/unix/af_unix.c
parentdt-bindings: net: ravb : Add support for r8a7743 SoC (diff)
downloadkernel-3ccc6c6faaa93da70989177b91c7c3ef0df10937.tar.gz
kernel-3ccc6c6faaa93da70989177b91c7c3ef0df10937.zip
skbuff: optimize the pull_pages code in __pskb_pull_tail()
In the pull_pages code block, if the first frag size > eat, we can end the loop in advance to avoid extra copy. Signed-off-by: Lin Zhang <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions