lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150510.194031.149375433174785061.davem@davemloft.net>
Date:	Sun, 10 May 2015 19:40:31 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	mathias.kretschmer@...us.fraunhofer.de
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH-net] af_packet / TX_RING not fully non-blocking (w/
 MSG_DONTWAIT). 

From: Mathias Kretschmer <mathias.kretschmer@...us.fraunhofer.de>
Date: Fri, 8 May 2015 15:44:37 +0200

> This patch fixes an issue where the send(MSG_DONTWAIT) call
> on a TX_RING is not fully non-blocking in cases where the device's sndBuf is
> full. We pass nonblock=true to sock_alloc_send_skb() and return any possibly
> occuring error code (most likely EGAIN) to the caller. As the fast-path stays
> as it is, we keep the unlikely() around skb == NULL. 
> 
> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@...us.fraunhofer.de>

This looks correct to me, applied, thank you.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ