diff options
author | Kretschmer, Mathias | 2015-05-08 15:44:37 +0200 |
---|---|---|
committer | David S. Miller | 2015-05-11 01:40:08 +0200 |
commit | fbf33a2802f71dba06faa948af805884ff16a2ab (patch) | |
tree | 94a5d1b3c78f23b9a82bfbbdf97c17c9cfa29abc /drivers/net/phy | |
parent | bnx2x: limit fw delay in kdump to 5s after boot (diff) | |
download | kernel-qcow2-linux-fbf33a2802f71dba06faa948af805884ff16a2ab.tar.gz kernel-qcow2-linux-fbf33a2802f71dba06faa948af805884ff16a2ab.tar.xz kernel-qcow2-linux-fbf33a2802f71dba06faa948af805884ff16a2ab.zip |
af_packet / TX_RING not fully non-blocking (w/ MSG_DONTWAIT).
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@fokus.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions