In lge_detach(), don't contigfree() the jumbogram buffer memory;
lge_free_jumbo_mem() does it for us.
This commit is contained in:
parent
64c30c9cb5
commit
6048cd628a
@ -699,7 +699,6 @@ static int lge_detach(dev)
|
||||
|
||||
contigfree(sc->lge_ldata, sizeof(struct lge_list_data), M_DEVBUF);
|
||||
lge_free_jumbo_mem(sc);
|
||||
contigfree(sc->lge_cdata.lge_jumbo_buf, LGE_JMEM, M_DEVBUF);
|
||||
|
||||
splx(s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user