Bug 77081 - sock_tx_timestamp for SOCK_RAW
Summary: sock_tx_timestamp for SOCK_RAW
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-29 09:00 UTC by yangzhe1990
Modified: 2014-05-29 09:00 UTC (History)
0 users

See Also:
Kernel Version: 3.14
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description yangzhe1990 2014-05-29 09:00:17 UTC
I just wonder if we could enable the support for AF_INET / AF_INET6, SOCK_RAW sockets. We already have that for UDP packets.

We only need to add a line of sock_tx_timestamp(sk, &ipc.tx_flags) after net/ipv4/raw.c:525, and change net/ipv6/ip6_output.c:1257 to 	if (sk->sk_type == SOCK_DGRAM || sk->sk_type == SOCK_RAW).

Note You need to log in before you can comment on or make changes to this bug.