]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ipvlan-mcast'
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:29:50 +0000 (19:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:29:50 +0000 (19:29 -0400)
commit28b216209385491ae12dcb025a4f6df96a34b27d
treead5402d0f33bfdff1e446bdb135ea20a7747c5e4
parent777084682829436782d31630e2494c0bb4ad66a4
parent83364d41de8c247219f059272fe19dc5da3c06ef
Merge branch 'ipvlan-mcast'

Mahesh Bandewar says:

====================
Multicast processing in IPvlan

Dan Willems pointed out that autoconf in IPvlan is broken because of the
way broadcast bit gets set. Since broadcast processing is a real performance
drain, the broadcast bit in multicast filter was only set when the interface
was configured with IPv4 address. In autoconf scenario, when there are
no addresses configured; this logic did not work and it wouldn't allow
DHCPv4 to work. The only way was to add protocol specific hacks to avoid
processing unnecessary broadcast burdon.

This jugglery could be avoided if these multicast / broadcast packets are taken
out of fast-path and are processed in a work-queue. This will enable us to add
broadcast bit in all multicast filters without any impact on performance of
the virtual device. This patch series just does that.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>