[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0835B3720019904CB8F7AA43166CEEB201050063@RTITMBSV03.realtek.com.tw>
Date: Thu, 17 Nov 2016 03:05:14 +0000
From: Hayes Wang <hayeswang@...ltek.com>
To: Francois Romieu <romieu@...zoreil.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
nic_swsd <nic_swsd@...ltek.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"mlord@...ox.com" <mlord@...ox.com>
Subject: RE: [PATCH net 2/2] r8152: rx descriptor check
Francois Romieu [mailto:romieu@...zoreil.com]
> Sent: Tuesday, November 15, 2016 9:11 AM
[...]
> If it was possible to get it wrong once, it should be possible to
> get it wrong twice, especially if some part of the hardware design
> is recycled. I don't mean anything else.
I agree with you. However, I have to let it could be reproduced
for confirming it.
Besides, the behavior is different for PCIe and USB device. There
is no action of DMA for USB device. It is done by the USB host
controller. And, the USB host controller wouldn't allow the device
sends a data which is more than the size of the buffer.
Best Regards,
Hayes
Powered by blists - more mailing lists