net/hyperv: fix possible memory leak in do_set_multicast()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 24 Jan 2012 10:21:28 +0000 (10:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2012 20:47:47 +0000 (15:47 -0500)
commitc11bf1c8baff170fa478adc04964da519d160e62
tree9d5b41ba4e07cb546097af97d9956b42b4cb91a8
parent2bbba277a554431a426e81f37d5c50ab6216c07d
net/hyperv: fix possible memory leak in do_set_multicast()

do_set_multicast() may not free the memory malloc in
netvsc_set_multicast_list().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c