aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/netdevice.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-08-10 01:09:41 +0100
committerMichael Brown <mcb30@etherboot.org>2009-08-10 19:27:24 +0100
commit04878ef74512df49803d1119c72c49cd8f1bfe10 (patch)
treeadd5a2af82095b9f731c90652e1f6d2b72a629f3 /src/net/netdevice.c
parent46073f12391e5a467fbf5d5853ea91333fcce843 (diff)
downloadipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.tar.gz
[process] Make it safe to call process_add() multiple times
Diffstat (limited to 'src/net/netdevice.c')
-rw-r--r--src/net/netdevice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index e16ebaa0..3bb0574d 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -625,5 +625,6 @@ static void net_step ( struct process *process __unused ) {
/** Networking stack process */
struct process net_process __permanent_process = {
+ .list = LIST_HEAD_INIT ( net_process.list ),
.step = net_step,
};