Thread (26 messages) 26 messages, 2 authors, 2018-04-16

Re: [PATCH net-next 07/21] net/ipv6: Save route type in rt6_info

From: David Miller <davem@davemloft.net>
Date: 2018-04-16 19:55:22

From: David Ahern <redacted>
Date: Mon, 16 Apr 2018 13:50:07 -0600
Added this to the commit message:

fc_type is set in current users based on the algorithm in rt6_fill_node:
  - rt6i_flags contains RTF_LOCAL: fc_type = RTN_LOCAL
  - rt6i_flags contains RTF_ANYCAST: fc_type = RTN_ANYCAST
  - else fc_type = RTN_UNICAST

Similarly, fib6_type is set in the rt6_info templates based on the
RTF_REJECT section of rt6_fill_node converting dst.error to RTN type.

#####

Will send a v2 later this week.
Looks great.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help