diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2018-05-31 15:59:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-31 23:02:42 -0400 |
commit | 664088f8d68178809b848ca450f2797efb34e8e7 (patch) | |
tree | fd092639acb8a0bc97e7e42489ab53df59b6b4f1 /net/kcm | |
parent | 16e6653c8259ca5383126e1c6bcf7fe062af87fc (diff) | |
download | lwn-664088f8d68178809b848ca450f2797efb34e8e7.tar.gz lwn-664088f8d68178809b848ca450f2797efb34e8e7.zip |
net-sysfs: Fix memory leak in XPS configuration
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 <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions