diff options
author | Eric Dumazet <edumazet@google.com> | 2017-02-17 18:11:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 21:31:06 +0100 |
commit | 4e33e34625103593a71d2bae471ce49cef62ef06 (patch) | |
tree | 06d29484bfebbee057e0a28baf9ec6b9bebab3ff /net/dccp | |
parent | tcp: accommodate sequence number to a peer's shrunk receive window caused by ... (diff) | |
download | linux-4e33e34625103593a71d2bae471ce49cef62ef06.tar.xz linux-4e33e34625103593a71d2bae471ce49cef62ef06.zip |
tcp: use page_ref_inc() in tcp_sendmsg()
sk_page_frag_refill() allocates either a compound page or an order-0
page. We can use page_ref_inc() which is slightly faster than get_page()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions