[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171219.132630.1816700498837086028.davem@davemloft.net>
Date: Tue, 19 Dec 2017 13:26:30 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: al.kochet@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
f.fainelli@...il.com, edumazet@...gle.com
Subject: Re: [PATCH v2] net: arc_emac: fix arc_emac_rx() error paths
From: Alexander Kochetkov <al.kochet@...il.com>
Date: Tue, 19 Dec 2017 14:07:04 +0300
> arc_emac_rx() has some issues found by code review.
>
> In case netdev_alloc_skb_ip_align() or dma_map_single() failure
> rx fifo entry will not be returned to EMAC.
>
> In case dma_map_single() failure previously allocated skb became
> lost to driver. At the same time address of newly allocated skb
> will not be provided to EMAC.
>
> Signed-off-by: Alexander Kochetkov <al.kochet@...il.com>
Applied.
Powered by blists - more mailing lists