realtek: re-enable IPv6 routing
[openwrt/openwrt.git] / target / linux / realtek / files-5.10 / drivers / net / dsa / rtl83xx / common.c
index 9691b8b5c7b4273c3ffb6206c734eb43878d02d6..6d2996f0afc17eb776d6ab484717ab205f95edaf 100644 (file)
@@ -1342,7 +1342,7 @@ static int rtl83xx_fib_event(struct notifier_block *this, unsigned long event, v
                        struct fib6_entry_notifier_info *fen6_info = ptr;
                        pr_warn("%s: FIB_RULE ADD/DELL for IPv6 not supported\n", __func__);
                        kfree(fib_work);
-                       return notifier_from_errno(-EINVAL);
+                       return NOTIFY_DONE;
                }
                break;