Linux/linux 9c8080ddrivers/net/ethernet/stmicro/stmmac stmmac_main.c

net: stmmac: Add missing call to dev_kfree_skb()

When RX HW timestamp is enabled and a frame is discarded we are
not freeing the skb but instead only setting to NULL the entry.

Add a call to dev_kfree_skb_any() so that skb entry is correctly
freed.

Signed-off-by: Jose Abreu <joabreu at synopsys.com>
Cc: David S. Miller <davem at davemloft.net>
Cc: Joao Pinto <jpinto at synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro at st.com>
Cc: Alexandre Torgue <alexandre.torgue at st.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+1-0drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+1-01 files

UnifiedSplitRaw