3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-03-06 00:40:38 +01:00
Denis Kenzior 1c9a736ed5 netconfig: Cancel outstanding rtnl commands
It is possible for the RTNL command callback to come after
netconfig_reset or netconfig_destroy has been called.  Make sure that
any outstanding commands that might access the netconfig object are
canceled.

src/netconfig.c:netconfig_ipv4_dhcp_event_handler() DHCPv4 event 0
src/netconfig.c:netconfig_ifaddr_added() wlan0: ifaddr 192.168.1.55/24 broadcast 192.168.1.255
^CTerminate
src/netdev.c:netdev_free() Freeing netdev wlan0[15]
src/device.c:device_free()
src/station.c:station_free()
src/netconfig.c:netconfig_destroy()
src/netconfig.c:netconfig_reset()
src/netconfig.c:netconfig_reset_v4() 16
src/netconfig.c:netconfig_reset_v4() Stopping client
Removing scan context for wdev c
src/scan.c:scan_context_free() sc: 0x4a3cc10
==12792== Invalid read of size 8
==12792==    at 0x43BF5A: netconfig_route_add_cmd_cb (netconfig.c:600)
==12792==    by 0x4727FA: process_message (netlink.c:181)
==12792==    by 0x4727FA: can_read_data (netlink.c:289)
==12792==    by 0x470F4B: io_callback (io.c:120)
==12792==    by 0x47016C: l_main_iterate (main.c:478)
==12792==    by 0x47023B: l_main_run (main.c:525)
==12792==    by 0x47023B: l_main_run (main.c:507)
==12792==    by 0x47044B: l_main_run_with_signal (main.c:647)
==12792==    by 0x403EDB: main (main.c:490)
2021-04-28 11:19:34 -05:00
..
2021-02-08 15:16:39 -06:00
2020-07-09 09:58:21 -05:00
2020-07-09 09:58:21 -05:00
2021-03-12 13:49:23 -06:00
2021-03-11 21:46:49 -06:00
2020-08-13 13:43:31 -05:00
2019-12-09 01:47:11 -06:00
2021-04-20 09:37:48 -05:00
2021-04-20 09:37:48 -05:00
2021-03-12 13:49:23 -06:00
2021-02-08 15:56:30 -06:00
2021-03-10 12:03:49 -06:00
2021-04-09 11:32:21 -05:00
2021-04-09 11:32:21 -05:00
2021-03-12 13:49:23 -06:00
2019-05-19 13:07:13 -05:00
2021-03-11 22:34:26 -06:00
2021-04-16 11:13:46 -05:00
2017-11-28 13:20:33 -06:00
2021-03-12 13:49:23 -06:00
2021-04-20 09:37:48 -05:00
2021-03-10 12:05:43 -06:00
2020-02-03 11:54:28 -06:00
2019-07-15 14:06:26 -05:00
2020-09-16 14:31:07 -05:00
2020-04-10 06:31:19 -05:00
2020-09-14 11:39:25 -05:00
2020-09-14 11:39:25 -05:00
2021-04-23 09:51:46 -05:00
2021-04-05 17:47:42 -05:00
2020-03-17 15:35:22 -05:00
2021-03-15 13:14:16 -05:00
2021-03-15 13:14:16 -05:00
2021-03-12 13:49:23 -06:00
2021-03-12 13:49:23 -06:00
2020-01-17 12:50:23 -06:00