[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140715.163302.175573076245211912.davem@davemloft.net>
Date: Tue, 15 Jul 2014 16:33:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: willemb@...gle.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
richardcochran@...il.com
Subject: Re: [PATCH net-next] net-timestamp: SOCK_RAW and PING timestamping
From: Willem de Bruijn <willemb@...gle.com>
Date: Mon, 14 Jul 2014 17:55:06 -0400
> 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>
Applied.
--
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