summaryrefslogtreecommitdiff
path: root/net/can
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2015-05-23 06:55:59 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-25 20:25:33 +0300
commit8b9df2657704dd313333a79497dde429f9190caa (patch)
tree969272169e4dc63fac1ff15c890d5e1290fc3826 /net/can
parent2647a9b07032c5a95ddee1fcb65d95bddbc6b7f9 (diff)
downloadlinux-8b9df2657704dd313333a79497dde429f9190caa.tar.xz
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 'net/can')
0 files changed, 0 insertions, 0 deletions