amd-xgbe: Free channel/ring structures later
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 6 Nov 2014 23:02:13 +0000 (17:02 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Nov 2014 00:00:15 +0000 (19:00 -0500)
commite98c72c94205c59745f9ed0ac2837d5b83084a46
treeb441cd6b39be96e098cdb7f6fc988de838de70e0
parent6b798d70d07a38e9ba0a32316f76495f9dcfc343
amd-xgbe: Free channel/ring structures later

The channel structure is freed before freeing the per channel
interrupts resulting in a kernel oops. Move the call to free
the channel structure to after the freeing of the per channel
interrupts.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c