On Fri, Jul 5, 2019 at 7:44 AM Frank de Brabander <[email protected]> wrote:
>
> If mmap() fails it returns MAP_FAILED, which is defined as ((void *) -1).
> The current if-statement incorrectly tests if *ring is NULL.
>
> Signed-off-by: Frank de Brabander <[email protected]>

Acked-by: Willem de Bruijn <[email protected]>

Fixes: 358be656406d ("selftests/net: add txring_overwrite")

Thanks Frank. Please mark future networking patches as [PATCH net] or
[PATCH net-next].

Reply via email to