Check rx dma map was allocated before trying to free it, so we don't crash
authorjmatthew <jmatthew@openbsd.org>
Sat, 8 Jul 2023 09:01:30 +0000 (09:01 +0000)
committerjmatthew <jmatthew@openbsd.org>
Sat, 8 Jul 2023 09:01:30 +0000 (09:01 +0000)
commit915b4b0d357ffc55204afdccfeb755b130e8471c
treec3ae00eaa66795a357221a13358cf7de26beb20f
parent7426d5d9f11d81a7d781a7568167f4e6deed3928
Check rx dma map was allocated before trying to free it, so we don't crash
if we ran out of memory while bringing the interface up.

tested by hrvoje, ok kevlo@
sys/dev/pci/if_ix.c