Files
openwrt-R7800-nss/target/linux
Bjørn Mork d990f805c0 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-30 15:00:22 +02:00
..
2021-10-21 00:17:36 +02:00
2021-10-21 00:17:36 +02:00
2021-10-21 17:38:17 +02:00
2021-10-21 00:17:36 +02:00
2021-10-21 00:17:36 +02:00
2021-10-21 00:17:36 +02:00
2021-10-05 23:54:18 +02:00
2021-10-09 18:44:55 +02:00
2021-10-21 00:17:36 +02:00
2021-10-22 22:12:24 +02:00
2021-10-02 18:13:46 +02:00
2021-10-05 23:54:48 +02:00
2021-10-10 00:09:22 +01:00
2021-10-30 15:00:22 +02:00
2021-10-18 21:32:36 +02:00
2021-10-21 00:17:36 +02:00
2021-10-17 14:13:22 +02:00