openwrt/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx
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
..
common.c realtek: re-enable IPv6 routing 2021-10-30 15:00:22 +02:00
debugfs.c realtek: Add debugfs support for RTL9300 2021-10-09 08:25:06 +02:00
dsa.c realtek: Fix bug in VLAN ingress and egress filtering 2021-10-09 08:25:06 +02:00
Kconfig
Makefile realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00
qos.c
rtl83xx.h realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00
rtl838x.c realtek: Add SoC-specific routing offload implementation 2021-10-09 08:25:06 +02:00
rtl838x.h realtek: add driver support for routing offload 2021-10-09 08:25:06 +02:00
rtl839x.c realtek: Fix bug when accessing external PHYs on SoCs older than Revision C 2021-10-09 08:25:06 +02:00
rtl930x.c realtek: Add SoC-specific routing offload implementation 2021-10-09 08:25:06 +02:00
rtl931x.c realtek: Add SoC-specific routing offload implementation 2021-10-09 08:25:06 +02:00
tc.c realtek: Add driver support for TC offloading 2021-10-09 08:25:05 +02:00