]> 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)
commit6ba215eaa03f587d3ac077bb4bc41965f6f240b2
tree7a0170e8cd1d6bbef0e09869c5a7eda347d92424
parent7714d786e854e709873ca45135e6c20df1184350
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