forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/net/ipv4/fib_frontend.c
....@@ -573,6 +573,9 @@
573573 cfg->fc_scope = RT_SCOPE_UNIVERSE;
574574 }
575575
576
+ if (!cfg->fc_table)
577
+ cfg->fc_table = RT_TABLE_MAIN;
578
+
576579 if (cmd == SIOCDELRT)
577580 return 0;
578581