aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJose Abreu <[email protected]>2017-10-20 14:37:34 +0100
committerDavid S. Miller <[email protected]>2017-10-22 02:50:40 +0100
commit9c8080d068b861a80d430ba0b42d8c9b07366b66 (patch)
treea3cc12d7459613d3f3084a3ff10ebbb4bf59bff2 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent0247880a09a145be00daabf6c08f28fd739de560 (diff)
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 <[email protected]> Cc: David S. Miller <[email protected]> Cc: Joao Pinto <[email protected]> Cc: Giuseppe Cavallaro <[email protected]> Cc: Alexandre Torgue <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions