projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a98dcf
)
macvlan: broadcast addr should be part of mc_filter
author
Eric Dumazet
<
[email protected]
>
Thu, 7 Feb 2013 16:02:57 +0000
(16:02 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 8 Feb 2013 22:55:48 +0000
(17:55 -0500)
commit
cd431e738509e
(macvlan: add multicast filter) forgot
the broadcast case.
Signed-off-by: Eric Dumazet <
[email protected]
>
Reported-by: Maciej Żenczykowski <
[email protected]
>
SIgned-off-by: Maciej Żenczykowski <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/macvlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/macvlan.c
b/drivers/net/macvlan.c
index f494da82c33ff54d899c9e46e2c326203f053e5b..ce7c9268c740ea3648e27bebfcc3c2292043f98c 100644
(file)
--- a/
drivers/net/macvlan.c
+++ b/
drivers/net/macvlan.c
@@
-426,6
+426,9
@@
static void macvlan_set_mac_lists(struct net_device *dev)
netdev_for_each_mc_addr(ha, dev) {
__set_bit(mc_hash(ha->addr), filter);
}
+
+ __set_bit(mc_hash(dev->broadcast), filter);
+
bitmap_copy(vlan->mc_filter, filter, MACVLAN_MC_FILTER_SZ);
}
dev_uc_sync(vlan->lowerdev, dev);