summaryrefslogtreecommitdiffstats
path: root/net/sctp/ipv6.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2015-05-22 20:55:59 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-25 13:25:33 -0400
commit8b9df2657704dd313333a79497dde429f9190caa (patch)
tree969272169e4dc63fac1ff15c890d5e1290fc3826 /net/sctp/ipv6.c
parent2647a9b07032c5a95ddee1fcb65d95bddbc6b7f9 (diff)
downloadlinux-8b9df2657704dd313333a79497dde429f9190caa.tar.bz2
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/sctp/ipv6.c')
0 files changed, 0 insertions, 0 deletions