]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2015 10:07:34 +0000 (12:07 +0200)
commit3b9393dc1d4cc226bce44708ab899518cc598e57
treef339a13f96ca20363ebc0fac4c8cdb09ed811516
parent9f6191daa545384ce5cc90b770f0d2bf64c0ba22
ipv6: Make MLD packets to only be processed locally

[ Upstream commit 4c938d22c88a9ddccc8c55a85e0430e9c62b1ac5 ]

Before commit daad151263cf ("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: daad151263cf ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6_input.c