forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit68e2ffd
net/ipv6: Handle onlink flag with multipath routes
For multipath routes the ONLINK flag can be specified per nexthop inrtnh_flags or globally in rtm_flags. Update ip6_route_multipath_addto consider the ONLINK setting coming from rtnh_flags. Each loop overnexthops the config for the sibling route is initialized to the globalconfig and then per nexthop settings overlayed. The flag is 'or'ed intofib6_config to handle the ONLINK flag coming from either rtm_flags orrtnh_flags.Fixes:fc1e64e ("net/ipv6: Add support for onlink flag")Signed-off-by: David Ahern <dsahern@gmail.com>Signed-off-by: David S. Miller <davem@davemloft.net>1 parent6d06673 commit68e2ffd
1 file changed
+1
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4112 | 4112 |
| |
4113 | 4113 |
| |
4114 | 4114 |
| |
| 4115 | + | |
4115 | 4116 |
| |
4116 | 4117 |
| |
4117 | 4118 |
| |
|
0 commit comments
Comments
(0)