Toomas Soome
98e805b4a1
loader: net_open() should not replace f->f_devdata
...
net_open() does replace f_devdata with pointer to netdev_sock,
this will cause memory leak when device is closed, but also does
alter the devopen() logic.
We should store &netdev_sock to dev->d_opendata instead, this
would preserve and follow the devopen() logic.
Fixes network boot on aarch64 (tested by bz).
Reviewed-by: imp
MFC After: 2 weeks
Differential Revision: https://reviews.freebsd.org/D32227
2021-10-19 19:43:56 +03:00
..
2021-03-30 14:59:41 +01:00
2021-10-06 20:23:44 -05:00
2019-08-22 21:49:13 +00:00
2020-12-05 00:33:28 +00:00
2019-10-24 20:02:48 +00:00
2021-09-08 04:01:20 +03:00
2021-06-01 11:08:20 -05:00
2021-09-08 04:01:20 +03:00
2019-12-13 12:36:16 +00:00
2021-08-10 21:54:32 +03:00
2021-08-10 21:54:32 +03:00
2019-06-17 19:49:08 +00:00
2021-09-08 04:01:20 +03:00
2020-08-19 20:41:22 +00:00
2021-08-29 10:09:58 +02:00
2021-08-10 21:54:32 +03:00
2020-03-19 21:05:11 +00:00
2019-06-05 02:34:58 +00:00
2021-06-01 11:08:20 -05:00
2020-08-29 21:05:43 +00:00
2021-08-10 21:54:32 +03:00
2021-08-10 21:54:32 +03:00
2021-08-10 21:54:32 +03:00
2021-09-08 04:01:20 +03:00
2019-02-26 06:22:10 +00:00
2021-09-08 04:01:20 +03:00
2021-08-10 21:54:32 +03:00
2021-09-08 04:01:20 +03:00
2021-10-19 19:43:56 +03:00
2021-08-10 21:54:32 +03:00
2021-01-14 17:33:05 -08:00
2021-09-24 20:23:49 -07:00
2021-08-10 21:54:32 +03:00
2021-08-10 21:54:32 +03:00
2020-08-20 12:50:49 +00:00
2020-02-20 00:46:22 +00:00
2021-09-08 04:01:20 +03:00
2021-10-19 19:43:56 +03:00
2020-09-29 16:29:50 +00:00
2021-09-24 20:23:37 -07:00
2021-09-28 15:24:02 -07:00
2021-09-08 04:01:20 +03:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2021-08-10 21:54:32 +03:00
2019-09-17 11:35:53 +00:00
2020-08-29 21:05:43 +00:00
2019-09-17 11:35:53 +00:00
2019-09-17 13:15:27 +00:00
2019-09-20 05:22:34 +00:00