summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2015-05-23 05:55:59 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-25 19:25:33 +0200
commit8b9df2657704dd313333a79497dde429f9190caa (patch)
tree969272169e4dc63fac1ff15c890d5e1290fc3826 /include/net/ip6_route.h
parentipv6: Remove external dependency on rt6i_gateway and RTF_ANYCAST (diff)
downloadlinux-8b9df2657704dd313333a79497dde429f9190caa.tar.xz
linux-8b9df2657704dd313333a79497dde429f9190caa.zip
ipv6: Combine rt6_alloc_cow and rt6_alloc_clone
A prep work for creating RTF_CACHE on exception only. After this patch, the same condition (rt->rt6i_flags & (RTF_NONEXTHOP | RTF_GATEWAY)) is checked twice. This redundancy will be removed in the later patch. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
0 files changed, 0 insertions, 0 deletions