[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140715063010.GA4087@localhost.localdomain>
Date: Tue, 15 Jul 2014 08:30:10 +0200
From: Richard Cochran <richardcochran@...il.com>
To: Willem de Bruijn <willemb@...gle.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
stephen@...workplumber.org
Subject: Re: [PATCH net-next] net-timestamp: SOCK_RAW and PING timestamping
On Mon, Jul 14, 2014 at 05:55:06PM -0400, Willem de Bruijn wrote:
> Add SO_TIMESTAMPING to sockets of type PF_INET[6]/SOCK_RAW:
>
> Add the necessary sock_tx_timestamp calls to the datapath for RAW
> sockets (ping sockets already had these calls).
>
> Fix the IP output path to pass the timestamp flags on the first
> fragment also for these sockets. The existing code relies on
> transhdrlen != 0 to indicate a first fragment. For these sockets,
> that assumption does not hold.
>
> This fixes http://bugzilla.kernel.org/show_bug.cgi?id=77221
>
> Tested SOCK_RAW on IPv4 and IPv6, not PING.
>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists