Re: [net PATCH] net-sysfs: Fix memory leak in XPS configuration

2018-05-31 Thread David Miller
From: Alexander Duyck Date: Thu, 31 May 2018 15:59:46 -0400 > This patch reorders the error cases in showing the XPS configuration so > that we hold off on memory allocation until after we have verified that we > can support XPS on a given ring. > > Fixes: 184c449f91fe ("net: Add support for XPS

[net PATCH] net-sysfs: Fix memory leak in XPS configuration

2018-05-31 Thread Alexander Duyck
This patch reorders the error cases in showing the XPS configuration so that we hold off on memory allocation until after we have verified that we can support XPS on a given ring. Fixes: 184c449f91fe ("net: Add support for XPS with QoS via traffic classes") Signed-off-by: Alexander Duyck --- net