net: thunderx: Fix memory leak while tearing down interface
authorSunil Goutham <sgoutham@cavium.com>
Wed, 29 Jul 2015 13:49:37 +0000 (16:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:52:30 +0000 (23:52 -0700)
commit143ceb0b8a1570d1f899900bf05df19ecd673a18
treeade01101402d73d7b731ea82cc49925d77be6da2
parent4b561c17d91e9311639dd856255de0987f7ed9b2
net: thunderx: Fix memory leak while tearing down interface

Fixed 'tso_hdrs' memory not being freed properly.
Also fixed SQ skbuff maintenance issues.

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_main.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.c