diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-05-27 19:57:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-05-27 19:57:58 +0200 |
commit | 0b66ee22a3a339188ab2b8661c6af62883be93c2 (patch) | |
tree | 4cc4cf8aef8c95109f7b4eda56f2c1efef918e5d /iprule.c | |
parent | 97e748de49c02f36a1e75bd9f9552311fb4051b4 (diff) |
Move iprule flushing to the init function to make the timing predictable
Diffstat (limited to 'iprule.c')
-rw-r--r-- | iprule.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -247,5 +247,6 @@ iprule_update_rule(struct vlist_tree *tree, static void __init iprule_init_list(void) { + system_flush_iprules(); vlist_init(&iprules, rule_cmp, iprule_update_rule); } |