]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "igc: fix a log entry using uninitialized netdev"
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 11 Jun 2024 16:24:55 +0000 (09:24 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Jun 2024 14:24:52 +0000 (07:24 -0700)
commit8eef5c3cea65f248c99cd9dcb3f84c6509b78162
tree76561fb103ddcc23536a901355459ad4ff29faae
parentb60b1bdc1888f51da7a2a22c48c5f1eb2bd12e97
Revert "igc: fix a log entry using uninitialized netdev"

This reverts commit 86167183a17e03ec77198897975e9fdfbd53cb0b.

igc_ptp_init() needs to be called before igc_reset(), otherwise kernel
crash could be observed. Following the corresponding discussion [1] and
[2] revert this commit.

Link: https://lore.kernel.org/all/8fb634f8-7330-4cf4-a8ce-485af9c0a61a@intel.com/
Link: https://lore.kernel.org/all/87o78rmkhu.fsf@intel.com/
Fixes: 86167183a17e ("igc: fix a log entry using uninitialized netdev")
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20240611162456.961631-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/igc/igc_main.c