driver/net/benet: fix be_cmd_multicast_set() memcpy bug
authorJoe Jin <[email protected]>
Mon, 6 Dec 2010 03:00:59 +0000 (03:00 +0000)
committerDavid S. Miller <[email protected]>
Wed, 8 Dec 2010 20:13:43 +0000 (12:13 -0800)
commit408cc293c29ada769ae772420a39961320da1854
tree939e8ef335d708373bcd14682df2c507a1fed7b1
parente8d34a884e4ff118920bb57664def8a73b1b784f
driver/net/benet: fix be_cmd_multicast_set() memcpy bug

Regarding  benet be_cmd_multicast_set() function, now using
netdev_for_each_mc_addr() helper for mac address copy, but
when copying to req->mac[] did not increase of the index.

Cc: Sathya Perla <[email protected]>
Cc: Subbu Seetharaman <[email protected]>
Cc: Sarveshwar Bandi <[email protected]>
Cc: Ajit Khaparde <[email protected]>
Signed-off-by: Joe Jin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/benet/be_cmds.c