mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
[SPARC64]: Set vio->desc_buf to NULL after freeing.
Otherwise we trigger assertions on the next link-up. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0785b9dcdc
commit
a5f8967e17
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ static void flush_rx_dring(struct vio_driver_state *vio)
|
|||
|
||||
BUG_ON(!vio->desc_buf);
|
||||
kfree(vio->desc_buf);
|
||||
vio->desc_buf = NULL;
|
||||
|
||||
memset(dr, 0, sizeof(*dr));
|
||||
dr->ident = ident;
|
||||
|
|
Loading…
Reference in a new issue