[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1304151626550.27514@ask.diku.dk>
Date: Mon, 15 Apr 2013 16:28:38 +0200 (CEST)
From: Jesper Dangaard Brouer <hawk@...u.dk>
To: Daniel Borkmann <dborkman@...hat.com>
Cc: "David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH net-next] packet: move hw/sw timestamp extraction into
a small helper
On Mon, 15 Apr 2013, Daniel Borkmann wrote:
> This patch introduces a small helper function, that is used by AF_PACKET.
> Based on the flags that are passed, it extracts the packet timestamp in
> the receive path. This is merely a refactoring to remove some duplicate
> code in tpacket_rcv(), make it more readable, and to enable others to use
> this function as well.
>
> Cc: Willem de Bruijn <willemb@...gle.com>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
> ---
> include/linux/skbuff.h | 20 ++++++++++++++++++++
> net/packet/af_packet.c | 38 ++++----------------------------------
> 2 files changed, 24 insertions(+), 34 deletions(-)
Nice consolidation, good work Daniel :-)
Acked-by: Jesper Dangaard Brouer <brouer@...hat.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