igbvf: fix memory leak when ring size changed while interface down
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 26 Oct 2009 11:32:25 +0000 (11:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Oct 2009 23:09:01 +0000 (16:09 -0700)
commit39305965f31e080d6ed96e0ff51ed11e7639d52e
treee01872ac6287905362f611324ae78cc245499cba
parent759884b4d4cbafcd3f222b29cd6e0c2cbc542d2b
igbvf: fix memory leak when ring size changed while interface down

This patch resolves a memory leak which occurs while changing the ring size
while the interface is down.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igbvf/ethtool.c