netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net v2 0/2] ipv4: fix flowi4_iif for input routing
@ 2014-04-15 23:25 Cong Wang
  2014-04-15 23:25 ` [Patch net v2 1/2] ipv4,fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iif Cong Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Cong Wang @ 2014-04-15 23:25 UTC (permalink / raw)
  To: netdev
  Cc: Cong Wang, Eric Biederman, Julian Anastasov, David S. Miller,
	Cong Wang

This patchset fixes ->flowi4_iif for input routing and rp filter,
based on suggestion from Julian. See per patch for details.

v1 -> v2:
* merge the first two patches into one
* fix fib_check_nh() too
* add this cover letter

Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Julian Anastasov <ja@ssi.bg>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Cong Wang <cwang@twopensource.com>

Cong Wang (2):
  ipv4,fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iif
  ipv4,route: pass 0 instead of LOOPBACK_IFINDEX to
    fib_validate_source()

 include/net/flow.h                | 10 +++++++++-
 include/net/net_namespace.h       |  9 +--------
 net/ipv4/fib_frontend.c           |  2 +-
 net/ipv4/fib_semantics.c          |  1 +
 net/ipv4/ipmr.c                   |  2 +-
 net/ipv4/netfilter/ipt_rpfilter.c |  5 +----
 net/ipv4/route.c                  |  3 +--
 net/ipv6/ip6mr.c                  |  2 +-
 8 files changed, 16 insertions(+), 18 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-16 19:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 23:25 [Patch net v2 0/2] ipv4: fix flowi4_iif for input routing Cong Wang
2014-04-15 23:25 ` [Patch net v2 1/2] ipv4,fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iif Cong Wang
2014-04-15 23:25 ` [Patch net v2 2/2] ipv4,route: pass 0 instead of LOOPBACK_IFINDEX to fib_validate_source() Cong Wang
2014-04-16  5:42 ` [Patch net v2 0/2] ipv4: fix flowi4_iif for input routing Julian Anastasov
2014-04-16 19:06   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).