]> 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)
commit8507744509088f204b53027394bdc4babe985ce1
treead5402d0f33bfdff1e446bdb135ea20a7747c5e4
parent0516158896961c7fe28ce9b77cbc766e9cc87ea7
parent2ab6182f0cee6663adae37f54480c00dd8484916
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>