[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V2 3/4] ofnet: free memory on module unload
From: |
Daniel Kiper |
Subject: |
Re: [PATCH V2 3/4] ofnet: free memory on module unload |
Date: |
Mon, 5 Dec 2016 17:02:14 +0100 |
User-agent: |
Mutt/1.3.28i |
On Fri, Dec 02, 2016 at 06:10:04PM +0300, Stanislav Kholmanskikh wrote:
> On module unload each of its network cards are unregistered,
> but corresponding memory areas are not freed.
>
> This commit is to fix this situation.
>
> Freeing the transmit buffer goes via a special function, since
> it is allocated via ofnet_alloc_netbuf().
>
> Signed-off-by: Stanislav Kholmanskikh <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel
[PATCH V2 4/4] ofnet: implement the receive buffer, Stanislav Kholmanskikh, 2016/12/02