]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Check RTF_LOCAL on rt->rt6i_flags instead of rt->dst.flags
authorMartin KaFai Lau <kafai@fb.com>
Mon, 4 May 2015 00:05:49 +0000 (17:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 01:49:27 +0000 (21:49 -0400)
commit72bd44de6a4d374501f607c2f7912c31093e6205
tree33ca1f0bdf207ba7784517a21d147cd9c7d8bc10
parent96e5e197ac25d49cd98fd38f2b4faeb8b5f81808
ipv6: Check RTF_LOCAL on rt->rt6i_flags instead of rt->dst.flags

In my earlier commit:
6a19e843d959 ("ipv6: Stop /128 route from disappearing after pmtu update"),
there was a horrible typo.  Instead of checking RTF_LOCAL on
rt->rt6i_flags, it was checked on rt->dst.flags.  This patch fixes
it.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Cc: Hajime Tazaki <tazaki@sfc.wide.ad.jp>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c