commit | 8b7c9efa018f96e58fa379ddb8c03f002c4f6a84 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jul 08 00:23:25 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 07 21:21:22 2014 -0700 |
tree | a9178fea7f183eed1a35511cee389d15b8a203a8 | |
parent | d6bf31431b533629ad65feb954c29bbf5696e490 [diff] |
net: fec: ensure fec_enet_free_buffers() properly cleans the rings Ensure that we do not double-free any allocations, and that any transmit skbuffs are properly freed when we clean up the rings. Acked-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>