summaryrefslogtreecommitdiff
path: root/src/ipcpd/eth/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/eth/eth.c')
-rw-r--r--src/ipcpd/eth/eth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/eth/eth.c b/src/ipcpd/eth/eth.c
index b43caae1..d1ee088d 100644
--- a/src/ipcpd/eth/eth.c
+++ b/src/ipcpd/eth/eth.c
@@ -777,6 +777,8 @@ static void * eth_ipcp_sdu_reader(void * o)
(void) o;
+ ipcp_lock_to_core();
+
memset(br_addr, 0xff, MAC_SIZE * sizeof(uint8_t));
while (true) {
@@ -893,6 +895,8 @@ static void * eth_ipcp_sdu_writer(void * o)
(void) o;
+ ipcp_lock_to_core();
+
while (true) {
fevent(eth_data.np1_flows, eth_data.fq, NULL);