cnic: Free UIO rings when the device is closed.
authorMichael Chan <mchan@broadcom.com>
Sat, 8 Sep 2012 06:01:02 +0000 (06:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2012 19:48:20 +0000 (15:48 -0400)
commitf81b0ac475f617c93aeb372140b20cae267294c3
tree169fd1ac31ce6f9362a993be2e95376d2b8d5b4c
parent74dd0c42093e0fd70ca7d901d18c2c01a6fd0fd3
cnic: Free UIO rings when the device is closed.

This will free up unneeded memory.

Reviewed-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c