diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-05-06 12:53:41 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-06 12:55:50 -0700 |
commit | 9800fd8e4717133476afb9bdc64f8384c53f82dd (patch) | |
tree | 851d9cb8f8700fc8b3ec0be0d1a7bad7483fe007 /pkg/rand | |
parent | f1afd9e1ad7daf798372cc31a0a69de326ecc785 (diff) |
Solicit routers as long as RAs are handled
...to conform with Linux's `accept_ra` sysctl option.
```
accept_ra - INTEGER
Accept Router Advertisements; autoconfigure using them.
It also determines whether or not to transmit Router
Solicitations. If and only if the functional setting is to
accept Router Advertisements, Router Solicitations will be
transmitted.
Possible values are:
0 Do not accept Router Advertisements.
1 Accept Router Advertisements if forwarding is disabled.
2 Overrule forwarding behaviour. Accept Router Advertisements
even if forwarding is enabled.
Functional default: enabled if local forwarding is disabled.
disabled if local forwarding is enabled.
```
With this change, routers may be solicited even if the stack is has
forwarding enabled, as long as the interface is configured to handle
RAs when forwarding is enabled.
PiperOrigin-RevId: 372406501
Diffstat (limited to 'pkg/rand')
0 files changed, 0 insertions, 0 deletions