Haiyang Zhang
8552085646
hv_netvsc: Fix race of register_netdevice_notifier and VF register
...
If VF NIC is registered earlier, NETDEV_REGISTER event is replayed,
but NETDEV_POST_INIT is not.
Move register_netdevice_notifier() earlier, so the call back
function is set before probing.
Cc: stable@vger.kernel.org
Fixes: e04e7a7bbd4b ("hv_netvsc: Fix a deadlock by getting rtnl lock earlier in netvsc_probe()")
Reported-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-11-21 13:15:02 +01:00
..
2023-11-10 16:57:49 +01:00
2023-11-08 09:21:18 -08:00
2023-11-03 14:51:08 -10:00
2023-11-08 09:00:49 +09:00
2023-11-02 14:05:18 -10:00
2023-11-07 16:56:10 -08:00
2023-11-07 08:14:57 -07:00
2023-11-01 14:46:51 -10:00
2023-11-03 14:51:08 -10:00
2023-11-03 14:51:08 -10:00
2023-11-01 14:46:51 -10:00
2023-11-10 09:23:17 -08:00
2023-11-07 20:45:12 +01:00
2023-11-02 14:09:01 -07:00
2023-11-02 19:38:47 -10:00
2023-11-03 18:56:51 -10:00
2023-11-02 20:53:31 -10:00
2023-10-30 19:09:55 -10:00
2023-11-05 21:15:17 +09:00
2023-11-16 07:39:37 -05:00
2023-11-03 14:51:08 -10:00
2023-11-09 13:47:52 -08:00
2023-11-13 08:52:24 -08:00
2023-11-03 14:51:08 -10:00
2023-10-31 18:32:51 -10:00
2023-11-03 15:44:25 -10:00
2023-10-31 17:44:17 -10:00
2023-11-08 10:27:17 +01:00
2023-11-04 16:25:36 -10:00
2023-11-03 14:51:08 -10:00
2023-11-02 15:20:30 -10:00
2023-11-09 14:18:42 -08:00
2023-11-09 13:37:28 -08:00
2023-11-10 12:22:14 -08:00
2023-10-30 19:09:55 -10:00
2023-11-09 13:47:52 -08:00
2023-11-03 10:07:39 -10:00
2023-11-05 18:45:32 -08:00
2023-11-02 19:38:47 -10:00
2023-11-06 15:06:06 -08:00
2023-11-09 13:37:28 -08:00
2023-11-02 14:40:51 -10:00
2023-11-08 09:21:18 -08:00
2023-11-07 13:08:12 +01:00
2023-11-10 09:19:46 -08:00
2023-11-21 13:15:02 +01:00
2023-11-08 08:07:08 -08:00
2023-11-03 14:51:08 -10:00
2023-11-10 09:23:17 -08:00
2023-11-10 08:41:23 +01:00
2023-11-04 16:20:36 -10:00
2023-11-07 16:40:42 -08:00
2023-11-10 12:22:14 -08:00
2023-11-03 19:06:12 -10:00
2023-11-04 10:23:23 +01:00
2023-11-04 08:46:37 -10:00
2023-11-01 14:46:51 -10:00
2023-11-03 16:00:42 -10:00
2023-11-13 20:51:37 -08:00
2023-11-10 09:20:48 +01:00
2023-11-05 18:49:40 -08:00
2023-11-17 00:31:00 +00:00
2023-11-02 20:53:31 -10:00
2023-11-03 10:07:39 -10:00
2023-11-03 19:10:41 -10:00
2023-11-10 11:44:38 -08:00
2023-11-01 10:02:18 +00:00
2023-11-09 13:47:52 -08:00
2023-11-02 15:13:50 -10:00
2023-10-31 15:28:37 -10:00
2023-11-03 16:00:42 -10:00
2023-11-10 09:19:46 -08:00
2023-11-02 15:13:50 -10:00
2023-11-03 16:00:42 -10:00
2023-11-01 09:31:16 -04:00
2023-11-03 14:51:08 -10:00
2023-11-16 07:39:37 -05:00
2023-11-10 09:16:02 +01:00
2023-11-04 15:58:13 -10:00
2023-11-16 07:39:37 -05:00
2023-11-10 09:19:46 -08:00
2023-11-15 09:51:51 +01:00
2023-11-10 09:19:46 -08:00
2023-11-10 09:19:46 -08:00