summaryrefslogtreecommitdiff
path: root/drivers/net/phy/mdio-gpio.c
diff options
context:
space:
mode:
authorKretschmer, Mathias <mathias.kretschmer@fokus.fraunhofer.de>2015-05-08 15:44:37 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-10 19:40:08 -0400
commitfbf33a2802f71dba06faa948af805884ff16a2ab (patch)
tree94a5d1b3c78f23b9a82bfbbdf97c17c9cfa29abc /drivers/net/phy/mdio-gpio.c
parentcd9c39977754d9602b5783a44f4af09530a58254 (diff)
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/mdio-gpio.c')
0 files changed, 0 insertions, 0 deletions