immortalwrt/target/linux/realtek
Bjørn Mork 00240dbaff realtek: re-enable IPv6 routing
Commit 03e1d93e07 ("realtek: add driver support for routing
offload") added routing offload for IPv4, but broke IPv6 routing
completely.  The routing table is empty and cannot be updated:

 root@gs1900-10hp:~# ip -6 route
 root@gs1900-10hp:~# ip -6 route add unreachable default
 RTNETLINK answers: Invalid argument

As a side effect, this breaks opkg on IPv4 only systems too,
since uclient-fetch fails when there are no IPv6 routes:

 root@gs1900-10hp:~# uclient-fetch http://192.168.99.1
 Downloading 'http://192.168.99.1'
 Failed to send request: Operation not permitted

Fix by returning NOTIFY_DONE when offloading is unsupported, falling
back to default behaviour.

Fixes: 03e1d93e07 ("realtek: add driver support for routing offload")
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2021-10-31 23:57:45 +08:00
..
base-files realtek: add ZyXEL GS1900-24HPv2 support 2021-09-21 23:51:59 +08:00
dts-5.4 realtek: copy dts directory for Kernel 5.10 2021-10-04 23:37:31 +08:00
dts-5.10 realtek: enable uart1 on the devices with PoE support in 5.10 2021-10-04 23:40:03 +08:00
files/firmware/rtl838x_phy realtek: update the tree to the latest refactored version 2020-11-28 19:04:55 +08:00
files-5.4 realtek: ensure output drivers are enabled in RTL8231 2021-10-09 00:03:52 +08:00
files-5.10 realtek: re-enable IPv6 routing 2021-10-31 23:57:45 +08:00
generic realtek: update the tree to the latest refactored version 2020-11-28 19:04:55 +08:00
image realtek: fix ZyXEL initramfs image generation 2021-10-31 23:57:32 +08:00
patches-5.4 kernel: bump 5.4 to 5.4.155 2021-10-22 23:56:54 +08:00
patches-5.10 kernel: bump 5.10 to 5.10.75 2021-10-22 23:58:33 +08:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-11 12:05:39 +08:00
config-5.4 treewide: switch the timer frequency to 100 Hz 2021-04-22 23:12:24 +08:00
config-5.10 realtek: add legacy realtek GPIO driver for rtl9300 support 2021-10-13 23:48:46 +08:00
Makefile realtek: add Kernel 5.10 as testing version 2021-10-04 23:40:16 +08:00