]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Make MLD packets to only be processed locally
authorAngga <Hermin.Anggawijaya@alliedtelesis.co.nz>
Fri, 3 Jul 2015 02:40:52 +0000 (14:40 +1200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jul 2015 16:52:38 +0000 (09:52 -0700)
commit5bf3f8eb686856935dec8334885b3d060e5f26a0
tree3c6568a1325b7dfa9d6e2377ba66842bb08a7950
parent04ce49bc4d61052ad2d410a2c8d2eb934391e95d
ipv6: Make MLD packets to only be processed locally

Before commit a7c28a74a84d ("ipv6: Make ipv6_is_mld() inline and use it
from ip6_mc_input().") MLD packets were only processed locally. After the
change, a copy of MLD packet goes through ip6_mr_input, causing
MRT6MSG_NOCACHE message to be generated to user space.

Make MLD packet only processed locally.

Fixes: a7c28a74a84d ("ipv6: Make ipv6_is_mld() inline and use it from ip6_mc_input().")
Signed-off-by: Hermin Anggawijaya <hermin.anggawijaya@alliedtelesis.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_input.c