netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net/ipv6: Add support for ONLINK flag
@ 2018-01-24  3:00 David Ahern
  2018-01-24  3:00 ` [PATCH net-next 1/3] net/ipv6: Move gateway validation into helper David Ahern
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Ahern @ 2018-01-24  3:00 UTC (permalink / raw)
  To: netdev; +Cc: yoshfuji, idosch, roopa, David Ahern

Add support for RTNH_F_ONLINK with ipv6 routes.

First patch moves existing gateway validation into helper. The onlink
flag requires a different set of checks and the existing validation
makes ip6_route_info_create long enough.

Second patch makes the RT6_LOOKUP_F_IFACE flag an option to 
ip6_nh_lookup_table. onlink check needs to verify the gateway
without the flag.

Third patch adds support for RTNH_F_ONLINK.

David Ahern (3):
  net/ipv6: Move gateway validation into helper
  net/ipv6: Add flags arg to ip6_nh_lookup_table
  net/ipv6: Add support for onlink flag

 net/ipv6/route.c | 155 ++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 119 insertions(+), 36 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2018-01-24 22:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24  3:00 [PATCH net-next 0/3] net/ipv6: Add support for ONLINK flag David Ahern
2018-01-24  3:00 ` [PATCH net-next 1/3] net/ipv6: Move gateway validation into helper David Ahern
2018-01-24  3:00 ` [PATCH net-next 2/3] net/ipv6: Add flags arg to ip6_nh_lookup_table David Ahern
2018-01-24  3:00 ` [PATCH net-next 3/3] net/ipv6: Add support for onlink flag David Ahern
2018-01-24 22:08   ` David Ahern
2018-01-24 22:53     ` 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).