net: thunderx: Fix memory leak when changing queue count
authorSunil Goutham <sgoutham@cavium.com>
Wed, 29 Jul 2015 13:49:39 +0000 (16:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:52:31 +0000 (23:52 -0700)
commitc62cd3c45198c212f85f53bfc254dd83f01b0fbc
treede7fadfc9f88543705f439cdb1d49057d8b3196d
parent32c1b965f41639081af84cd3f320a81d9c30a06e
net: thunderx: Fix memory leak when changing queue count

Fix for memory leak when changing queue/channel count via ethtool

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c