commit | 4e33e34625103593a71d2bae471ce49cef62ef06 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Feb 17 09:11:42 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 17 15:31:06 2017 -0500 |
tree | 06d29484bfebbee057e0a28baf9ec6b9bebab3ff | |
parent | a4ecb15a2432880353d0de4a35204ab8b65b8751 [diff] |
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>