mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Revert r249800 as
- it is incorrect: In the 'back' case you want to reuse the previous mbuf. - it was not reviewed by wireless@ Requested by: jhb, adrian
This commit is contained in:
parent
6784d416a5
commit
114a94cc89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249812
@ -9183,7 +9183,6 @@ bwn_dma_newbuf(struct bwn_dma_ring *dr, struct bwn_dmadesc_generic *desc,
|
||||
struct mbuf *m;
|
||||
int error;
|
||||
|
||||
paddr = 0;
|
||||
m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
|
||||
if (m == NULL) {
|
||||
error = ENOBUFS;
|
||||
|
Loading…
Reference in New Issue
Block a user