ipvlan: Always set broadcast bit in multicast filter
authorMahesh Bandewar <maheshb@google.com>
Tue, 5 May 2015 00:06:11 +0000 (17:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:29:49 +0000 (19:29 -0400)
commitf631c44bbe1581d18d0aba628b3802d0eacb6373
treead5402d0f33bfdff1e446bdb135ea20a7747c5e4
parentba35f8588f474d5bf8988615b04ee722a2684fd2
ipvlan: Always set broadcast bit in multicast filter

Earlier tricks of setting broadcast bit only when IPv4 address is added
onto interface are not good enough especially when autoconf comes in play.
Setting them on always is performance drag but now that multicast /
broadcast is not processed in fast-path; enabling broadcast will let
autoconf work correctly without affecting performance characteristics of
the device.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_main.c