net-timestamp: optimize sock_tx_timestamp default path
authorWillem de Bruijn <willemb@google.com>
Mon, 8 Sep 2014 23:58:58 +0000 (19:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 00:34:41 +0000 (17:34 -0700)
commit67cc0d4077951295f42bed63805e91b46c24477b
tree7a0170e8cd1d6bbef0e09869c5a7eda347d92424
parent17448e5f63c8f36d00532327ae65e253d1395b08
net-timestamp: optimize sock_tx_timestamp default path

Few packets have timestamping enabled. Exit sock_tx_timestamp quickly
in this common case.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/socket.c