]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: vt6656: device_set_multi: covert mc_filter to u64
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 12 Feb 2014 19:18:26 +0000 (19:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 17:20:51 +0000 (09:20 -0800)
commit0ca3e288ddd5b9a42728cdb984a68d86d45dd09a
tree469b1db39d24cded8c674b1f88d627499f4638d1
parentbacb6de62cce0af3be40248c89f980b604b8a54f
staging: vt6656: device_set_multi: covert mc_filter to u64

Convert mc_filter to u64, preform netdev_for_each_mc_addr
mask filtering.

In MACvWriteMultiAddr endian correct mc_filter and write
the entire multicast once.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/mac.h
drivers/staging/vt6656/main_usb.c