diff options
author | Martin KaFai Lau <kafai@fb.com> | 2015-05-22 20:55:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 13:25:33 -0400 |
commit | 8b9df2657704dd313333a79497dde429f9190caa (patch) | |
tree | 969272169e4dc63fac1ff15c890d5e1290fc3826 /net/netfilter/ipvs/ip_vs_xmit.c | |
parent | 2647a9b07032c5a95ddee1fcb65d95bddbc6b7f9 (diff) | |
download | op-kernel-dev-8b9df2657704dd313333a79497dde429f9190caa.zip op-kernel-dev-8b9df2657704dd313333a79497dde429f9190caa.tar.gz |
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/netfilter/ipvs/ip_vs_xmit.c')
0 files changed, 0 insertions, 0 deletions