[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170105021005.GI31756@oracle.com>
Date: Wed, 4 Jan 2017 21:10:05 -0500
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: davem@...emloft.net, willemb@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] packet: fix panic in __packet_set_timestamp on
tpacket_v3 in tx mode
On (01/05/17 02:34), Daniel Borkmann wrote:
> When TX timestamping is in use with TPACKET_V3's TX ring, then we'll
> hit the BUG() in __packet_set_timestamp() when ring buffer slot is
> returned to user space via tpacket_destruct_skb(). This is due to v3
> being assumed as unreachable here, but since 7f953ab2ba46 ("af_packet:
> TX_RING support for TPACKET_V3") it's not anymore. Fix it by filling
> the timestamp back into the ring slot.
Acked-by: Sowmini Varadhan <sowmini.varadhan@...cle.com>
--Sowmini
Powered by blists - more mailing lists