From: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx> Date: Tue, 6 Apr 2010 17:23:07 -0700 > Subject: [PATCH 1/1] NET: usb: Adding URB_ZERO_PACKET flag to usbnet.c > From: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx> > This patch adds setting of the urb transfer flag URB_ZERO_PACKET before > submitting an urb for drivers that have requested it (by advertising flag > FLAG_SEND_ZLP). > The modification is in usbnet.c function usbnet_start_xmit(). > This patch only adds the zero length flag. > A subsequent patch will address the buggy code we found when devices do not > advertise FLAG_SEND_ZLP in which case there is a possibility of transferring > packets with non-deterministic length. > > This patch has been tested on kernel-2.6.34-rc3. > This patch has been checked against net-2.6 tree. > Signed-off-by: Elina Pasheva <epasheva@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Rory Filer <rfiler@xxxxxxxxxxxxxxxxxx> Applied to net-next-2.6, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html