summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorKretschmer, Mathias2015-05-08 15:44:37 +0200
committerDavid S. Miller2015-05-11 01:40:08 +0200
commitfbf33a2802f71dba06faa948af805884ff16a2ab (patch)
tree94a5d1b3c78f23b9a82bfbbdf97c17c9cfa29abc /drivers/net/phy
parentbnx2x: limit fw delay in kdump to 5s after boot (diff)
downloadkernel-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