]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83364d41de8c247219f059272fe19dc5da3c06ef
treead5402d0f33bfdff1e446bdb135ea20a7747c5e4
parente47b8db6a09475636c6d9d637b8c7297e3ed6729
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