]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: add missing tx timestamping on IPPROTO_RAW
authorWillem de Bruijn <willemb@google.com>
Mon, 17 Dec 2018 17:23:59 +0000 (12:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 07:27:00 +0000 (23:27 -0800)
commit2c93fe4481700de44f67ede232c338b456ff72d1
treeef3d863e460ae88547724fc2f9f1024aae7bc1a7
parent2efdb0617b10ba91d6f313b4b2d808d5169db557
ipv6: add missing tx timestamping on IPPROTO_RAW

Raw sockets support tx timestamping, but one case is missing.

IPPROTO_RAW takes a separate packet construction path. raw_send_hdrinc
has an explicit call to sock_tx_timestamp, but rawv6_send_hdrinc does
not. Add it.

Fixes: 4d617975761a ("net-timestamp: SOCK_RAW and PING timestamping")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c