diff options
author | linzhang <xiaolou4617@gmail.com> | 2017-07-17 17:25:02 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 08:56:50 -0700 |
commit | 3ccc6c6faaa93da70989177b91c7c3ef0df10937 (patch) | |
tree | 4fcc27c0a605eae9a6a8740d5933c6030fc9837a /net/unix | |
parent | b3a703c7a698bcc0938fe22ba74d32593ad6e662 (diff) |
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 <xiaolou4617@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions