aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorKretschmer, Mathias <[email protected]>2015-05-08 15:44:37 +0200
committerDavid S. Miller <[email protected]>2015-05-10 19:40:08 -0400
commitfbf33a2802f71dba06faa948af805884ff16a2ab (patch)
tree94a5d1b3c78f23b9a82bfbbdf97c17c9cfa29abc /drivers/mtd/lpddr/lpddr_cmds.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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions