]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71ac49be7bf0a7ef291c36f902a15cb23f0dfecd
tree7a0170e8cd1d6bbef0e09869c5a7eda347d92424
parenta47ef4e6d3b48454ca23a984014c3f089896e62b
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