summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_htcp.c
diff options
context:
space:
mode:
authorAlexander Duyck2015-07-09 20:02:52 +0200
committerDavid S. Miller2015-07-09 23:17:15 +0200
commit1007f59dce53a22cba164f854d7bdc171c85dc79 (patch)
tree93a5a9f8c10fcc4e442d22f5d2d63daf899667e3 /net/ipv4/tcp_htcp.c
parenttcp: v1 always send a quick ack when quickacks are enabled (diff)
downloadkernel-qcow2-linux-1007f59dce53a22cba164f854d7bdc171c85dc79.tar.gz
kernel-qcow2-linux-1007f59dce53a22cba164f854d7bdc171c85dc79.tar.xz
kernel-qcow2-linux-1007f59dce53a22cba164f854d7bdc171c85dc79.zip
net: skb_defer_rx_timestamp should check for phydev before setting up classify
This change makes it so that the call skb_defer_rx_timestamp will first check for a phydev before going in and manipulating the skb->data and skb->len values. By doing this we can avoid unnecessary work on network devices that don't support phydev. As a result we reduce the total instruction count needed to process this on most devices. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
0 files changed, 0 insertions, 0 deletions