summaryrefslogtreecommitdiffstats
path: root/src/net/ethernet.c
diff options
context:
space:
mode:
authorMichael Brown2018-07-09 11:35:57 +0200
committerMichael Brown2018-07-09 11:35:57 +0200
commit05b979146ddb0b957354663a99c181357ad310b2 (patch)
tree3bb92585ea569d47821feb0ce040ffd3c0ba3659 /src/net/ethernet.c
parent[build] Use positive-form tests when checking for supported warnings (diff)
downloadipxe-05b979146ddb0b957354663a99c181357ad310b2.tar.gz
ipxe-05b979146ddb0b957354663a99c181357ad310b2.tar.xz
ipxe-05b979146ddb0b957354663a99c181357ad310b2.zip
[rndis] Clean up error handling path in register_rndis()
Avoid calling rndis_halt() and rndis->op->close() twice if the call to register_netdev() fails. Reported-by: Roman Kagan <rkagan@virtuozzo.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/ethernet.c')
0 files changed, 0 insertions, 0 deletions