VMXNET3: Check for map error in vmxnet3_set_mc
authorAndy King <acking@vmware.com>
Tue, 2 Sep 2014 20:13:44 +0000 (13:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Sep 2014 18:50:39 +0000 (11:50 -0700)
commit4ad9a64f53c619969dede1143d56ccda1a453c39
treeaed2b0a68fefb0493c0ecd12cb7f4d0ce0e4b9e4
parentc5eba0b6f84eb4f0fdc1d8a4abc1c7d40db6e8a6
VMXNET3: Check for map error in vmxnet3_set_mc

We should check if the map of the table actually succeeds, and also free
resources accordingly.

Version bumped to 1.2.1.0

Acked-by: Shelley Gong <shelleygong@vmware.com>
Acked-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Andy King <acking@vmware.com>
Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_int.h