Commit dec9b0e
net/ipv6: Add rt6_info create function for ip6_pol_route_lookup
ip6_pol_route_lookup is the lookup function for ip6_route_lookup and
rt6_lookup. At the moment it returns either a reference to a FIB entry
or a cached exception. To move FIB entries to a separate struct, this
lookup function needs to convert FIB entries to an rt6_info that is
returned to the caller.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 421842e commit dec9b0e
1 file changed
+25
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1055 | 1055 | | |
1056 | 1056 | | |
1057 | 1057 | | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1058 | 1071 | | |
1059 | 1072 | | |
1060 | 1073 | | |
| |||
1087 | 1100 | | |
1088 | 1101 | | |
1089 | 1102 | | |
1090 | | - | |
| 1103 | + | |
1091 | 1104 | | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1092 | 1109 | | |
1093 | | - | |
1094 | | - | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1095 | 1117 | | |
1096 | 1118 | | |
1097 | 1119 | | |
1098 | 1120 | | |
1099 | 1121 | | |
1100 | 1122 | | |
1101 | | - | |
1102 | 1123 | | |
1103 | 1124 | | |
1104 | 1125 | | |
| |||
0 commit comments