summaryrefslogtreecommitdiffstats
path: root/src/drivers/linux/af_packet.c
diff options
context:
space:
mode:
authoranimeshbm2024-03-14 13:20:59 +0100
committerGitHub2024-03-14 13:20:59 +0100
commit211ac5f933e97b3accf935dd6dc92e58cc23dbb6 (patch)
treef385c42cc60bdb621bef3c4fe059f7562af0f57b /src/drivers/linux/af_packet.c
parentsupport for aqc113 (diff)
parent[efi] Update to current EDK2 headers (diff)
downloadipxe-211ac5f933e97b3accf935dd6dc92e58cc23dbb6.tar.gz
ipxe-211ac5f933e97b3accf935dd6dc92e58cc23dbb6.tar.xz
ipxe-211ac5f933e97b3accf935dd6dc92e58cc23dbb6.zip
Merge branch 'ipxe:master' into aqc1xx
Diffstat (limited to 'src/drivers/linux/af_packet.c')
-rw-r--r--src/drivers/linux/af_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/linux/af_packet.c b/src/drivers/linux/af_packet.c
index 9fa6ef2a..980bd462 100644
--- a/src/drivers/linux/af_packet.c
+++ b/src/drivers/linux/af_packet.c
@@ -300,9 +300,9 @@ static int af_packet_nic_probe ( struct linux_device *device,
return 0;
-err_settings:
unregister_netdev(netdev);
err_register:
+err_settings:
netdev_nullify(netdev);
netdev_put(netdev);
return rc;