Jonas Jelonek
24d9fdff2e
realtek: rtl931x: add missing function reference for l2_hash_seed
Add missing function reference for the l2_hash_seed call in rtl931x_reg
in the rtl83xx DSA driver part.
While at it, rename the referenced function to proper naming convention
and simplify its content.
The missing reference causes a hard crash after a short time (on
MS510TXM) because the driver assumes the reference always exists.
[ 111.785559] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 805469a0
[ 111.800991] Oops[#1]:
[ 111.801026] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G O 6.12.33 #0
[ 111.801046] Workqueue: dsa_ordered dsa_slave_switchdev_event_work
...
[ 111.880600] epc : 00000000 0x0
[ 111.884219] ra : 805469a0 rtl83xx_port_fdb_add+0x7c/0x204
[ 111.890570] Status: 11000403 KERNEL EXL IE
[ 111.895263] Cause : 50800008 (ExcCode 02)
[ 111.899731] BadVA : 00000000
[ 111.902946] PrId : 0001a120 (MIPS interAptiv (multi))
[ 111.956086] Process kworker/u8:0 (pid: 11, threadinfo=0b107c25, task=265aeb31, tls=00000000)
...
[ 112.015167] Call Trace:
[ 112.019549] [<80170b04>] load_balance+0x494/0x708
[ 112.025022] [<807bb368>] dsa_port_do_fdb_add+0x24c/0x340
[ 112.031048] [<807bc868>] dsa_switch_event+0xd44/0x13cc
[ 112.036845] [<8015867c>] raw_notifier_call_chain+0x48/0x88
[ 112.043031] [<807bcf3c>] dsa_tree_notify+0x10/0x3c
[ 112.048395] [<807b2a64>] dsa_port_bridge_host_fdb_add+0x15c/0x190
[ 112.055459] [<807b4e40>] dsa_slave_switchdev_event_work+0x164/0x1cc
...
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19170
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-19 19:22:45 +02:00
..
2025-05-03 19:57:53 +02:00
2025-05-17 20:14:27 +02:00
2025-06-06 10:01:31 +02:00
2025-05-20 00:47:37 +02:00
2025-06-06 10:01:31 +02:00
2025-06-12 12:42:15 +02:00
2025-05-20 00:47:37 +02:00
2025-05-13 21:43:34 +02:00
2025-04-13 10:44:19 +02:00
2025-06-18 11:12:00 +02:00
2025-06-08 15:59:55 +02:00
2025-06-03 23:05:15 +02:00
2025-06-18 20:23:20 +02:00
2025-06-07 08:38:07 +02:00
2025-06-06 10:01:31 +02:00
2025-06-11 18:42:54 +02:00
2025-06-03 01:45:40 +02:00
2025-05-18 19:35:00 +02:00
2025-05-20 00:47:37 +02:00
2025-05-03 19:57:53 +02:00
2025-03-09 17:05:26 +01:00
2025-05-29 22:46:47 +02:00
2025-06-16 22:46:55 +02:00
2025-06-11 18:39:55 +02:00
2025-05-20 20:54:48 +02:00
2025-05-24 16:15:53 +02:00
2025-05-29 23:05:02 +02:00
2025-03-15 13:54:59 +01:00
2025-06-08 15:59:55 +02:00
2025-03-15 13:54:59 +01:00
2025-06-13 12:02:39 +02:00
2025-06-05 21:11:28 +02:00
2025-06-18 20:35:23 +02:00
2025-06-19 19:22:45 +02:00
2025-06-14 17:22:52 +02:00
2025-06-08 15:59:55 +02:00
2025-05-20 00:47:37 +02:00
2025-06-14 00:53:19 +02:00
2025-05-25 17:57:19 +02:00
2025-06-18 11:11:54 +02:00
2024-11-17 14:55:16 +01:00
2025-06-12 12:42:15 +02:00
2025-06-08 15:59:55 +02:00
2024-11-17 14:55:16 +01:00
2024-11-17 19:29:06 +01:00