]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix error check for Rx mbuf allocation in ENA driver
authorzbb <zbb@FreeBSD.org>
Mon, 10 Jul 2017 22:11:30 +0000 (22:11 +0000)
committerzbb <zbb@FreeBSD.org>
Mon, 10 Jul 2017 22:11:30 +0000 (22:11 +0000)
commitb4c6ff0be480d8a55736557c31d9f855ac564e1c
tree7d63016d87e8cd6e5fa9a4f834e0a910aba42063
parent0eb1a2e6b890b799638ede36180cf8129fdfd821
Fix error check for Rx mbuf allocation in ENA driver

ena_alloc_rx_mbuf() will return positive error code
on failure. Act accordingly.

Submitted by: Krishna Yenduri <kyenduri at brkt.com>
sys/dev/ena/ena.c