]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: don't set DST_NOCOUNT for remotely added routes
authorSabrina Dubroca <sd@queasysnail.net>
Thu, 6 Mar 2014 16:51:57 +0000 (17:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 22:29:27 +0000 (17:29 -0500)
commitdd74777da2f0cb9a5399506ff64cbc404dc25c89
tree6096363b9a553bca322108f23db2fe1f348d3fd1
parenta53dad7f64dd9b46a4159abed8637932bbd2631f
ipv6: don't set DST_NOCOUNT for remotely added routes

DST_NOCOUNT should only be used if an authorized user adds routes
locally. In case of routes which are added on behalf of router
advertisments this flag must not get used as it allows an unlimited
number of routes getting added remotely.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c