lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 22 Mar 2019 12:15:19 +0100
From:   Greg Kroah-Hartman <>
Cc:     Greg Kroah-Hartman <>,, Lubomir Rintel <>,
        Steve deRosier <>,
        Kalle Valo <>
Subject: [PATCH 5.0 100/238] libertas_tf: dont set URB_ZERO_PACKET on IN USB transfer

5.0-stable review patch.  If anyone has any objections, please let me know.


From: Lubomir Rintel <>

commit 607076a904c435f2677fadaadd4af546279db68b upstream.

It doesn't make sense and the USB core warns on each submit of such
URB, easily flooding the message buffer with tracebacks.

Analogous issue was fixed in regular libertas driver in commit 6528d8804780
("libertas: don't set URB_ZERO_PACKET on IN USB transfer").

Signed-off-by: Lubomir Rintel <>
Reviewed-by: Steve deRosier <>
Signed-off-by: Kalle Valo <>
Signed-off-by: Greg Kroah-Hartman <>

 drivers/net/wireless/marvell/libertas_tf/if_usb.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/net/wireless/marvell/libertas_tf/if_usb.c
+++ b/drivers/net/wireless/marvell/libertas_tf/if_usb.c
@@ -433,8 +433,6 @@ static int __if_usb_submit_rx_urb(struct
 			  MRVDRV_ETH_RX_PACKET_BUFFER_SIZE, callbackfn, cardp);
-	cardp->rx_urb->transfer_flags |= URB_ZERO_PACKET;
 	lbtf_deb_usb2(&cardp->udev->dev, "Pointer for rx_urb %p\n",
 	ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC);

Powered by blists - more mailing lists