]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'net-Move-fib_nh-and-fib6_nh-to-a-common-struct'
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 17:48:04 +0000 (10:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 17:48:04 +0000 (10:48 -0700)
commit5f4d6749c0659fe15c2e3b8d47c10f6e241c18c7
treee1b340126841f37f96730a0e84d9428344612273
parent113e59d09fbc7aadfe6fdb25d86c73be6cabc7bb
parent979e276ebebd537782797c439c9cb42b6d3aba27
Merge branch 'net-Move-fib_nh-and-fib6_nh-to-a-common-struct'

David Ahern says:

====================
net: Move fib_nh and fib6_nh to a common struct

First set of three with the end goal of enabling IPv6 gateways with IPv4
routes.

This set refactors ipv4 and ipv6 code to create init and release
helpers for each protocol and moving common elements to a fib_nh_common
struct.

v3
- split the reject setting into 2 with helper to the checks. This
  avoids changing cfg->fc_flags in fib6_nh_init

v2
- addressed Ido's comments: cleanup on failure path in nh_init helpers,
  ordering in fib6_nh_release, and removal of RTF_GATEWAY from fib6_info
  uses in mlxsw
====================

Signed-off-by: David S. Miller <davem@davemloft.net>