Skip to contentSkip to conversation

New: sock_tx_timestamp for SOCK_RAW

Bug 77081 Stephen Hemminger 1 participant 1 message May 29, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Thu, 29 May 2014 02:00:26 -0700
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 77081] New: sock_tx_timestamp for SOCK_RAW

https://bugzilla.kernel.org/show_bug.cgi?id=77081

Bug ID: 77081
Summary: sock_tx_timestamp for SOCK_RAW
Product: Networking
Version: 2.5
Kernel Version: 3.14
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: enhancement
Priority: P1
Component: IPV4
Assignee: [email protected]
Reporter: [email protected]
Regression: No

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.