summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc/main.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-10 18:21:36 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-10 18:21:36 +0200
commit88e820cd80323cf7f08fb7be1e683200016e9d34 (patch)
tree8e02b8352095623a8b17662999d15472a85f5b61 /src/ipcpd/shim-eth-llc/main.c
parent533df37ac3a643017dba96283791d36934e15464 (diff)
parent669b56f4ea6873d4c87109fe31d98c3861d41150 (diff)
downloadouroboros-88e820cd80323cf7f08fb7be1e683200016e9d34.tar.gz
ouroboros-88e820cd80323cf7f08fb7be1e683200016e9d34.zip
Merged in sandervrijders/ouroboros/be-llc-fix (pull request #205)
ipcpd: Add MSG_DONTWAIT flag to shim-eth-llc
Diffstat (limited to 'src/ipcpd/shim-eth-llc/main.c')
-rw-r--r--src/ipcpd/shim-eth-llc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index b8689ac7..c719f5c5 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -379,7 +379,7 @@ static int eth_llc_ipcp_send_frame(uint8_t dst_addr[MAC_SIZE],
header->tp_len = frame_len;
header->tp_status = TP_STATUS_SEND_REQUEST;
- if (send(fd, NULL, 0, 0) < 0) {
+ if (send(fd, NULL, 0, MSG_DONTWAIT) < 0) {
LOG_ERR("Failed to write frame into TX_RING.");
return -1;
}