Bug 77081

Summary: sock_tx_timestamp for SOCK_RAW
Product: Networking Reporter: yangzhe1990
Component: IPV4Assignee: Stephen Hemminger (stephen)
Status: NEW ---    
Severity: enhancement    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.14 Subsystem:
Regression: No Bisected commit-id:

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).