net: stmmac: tc: Do not return a fragment entry
authorJose Abreu <Jose.Abreu@synopsys.com>
Tue, 6 Aug 2019 13:16:18 +0000 (15:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Aug 2019 19:26:11 +0000 (12:26 -0700)
commit4a6a1385a4db5f42258a40fcd497cbfd22075968
treecd242c0b14b929aef7c683330e09fd64bc552c89
parente8df7e8c233a18d2704e37ecff47583b494789d3
net: stmmac: tc: Do not return a fragment entry

Do not try to return a fragment entry from TC list. Otherwise we may not
clean properly allocated entries.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c