immortalwrt/target
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
..
imagebuilder imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive 2021-05-09 00:35:59 +08:00
linux realtek: re-enable IPv6 routing 2021-10-31 23:57:45 +08:00
sdk Revert "build: enable ccache by default" 2021-09-29 13:49:30 +08:00
toolchain toolchain: switch packaged toolchain to tar.xz 2021-10-24 00:16:09 +08:00
Config.in base-files: add generic sdcard upgrade method 2021-08-07 12:09:16 +08:00
Makefile