Commit d3623dd
ipv6: Simplify link-local address generation for IPv6 GRE.
Since commit 3e6a024 ("gre: Fix again IPv6 link-local address
generation."), addrconf_gre_config() has stopped handling IP6GRE
devices specially and just calls the regular addrconf_addr_gen()
function to create their link-local IPv6 addresses.
We can thus avoid using addrconf_gre_config() for IP6GRE devices and
use the normal IPv6 initialisation path instead (that is, jump directly
to addrconf_dev_config() in addrconf_init_auto_addrs()).
See commit 3e6a024 ("gre: Fix again IPv6 link-local address
generation.") for a deeper explanation on how and why GRE devices
started handling their IPv6 link-local address generation specially,
why it was a problem, and why this is not even necessary in most cases
(especially for GRE over IPv6).
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/a9144be9c7ec3cf09f25becae5e8fdf141fde9f6.1750075076.git.gnault@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent f6be1f2 commit d3623dd
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3208 | 3208 | | |
3209 | 3209 | | |
3210 | 3210 | | |
3211 | | - | |
| 3211 | + | |
3212 | 3212 | | |
3213 | 3213 | | |
3214 | 3214 | | |
| |||
3463 | 3463 | | |
3464 | 3464 | | |
3465 | 3465 | | |
| 3466 | + | |
3466 | 3467 | | |
3467 | 3468 | | |
3468 | 3469 | | |
| |||
3518 | 3519 | | |
3519 | 3520 | | |
3520 | 3521 | | |
3521 | | - | |
| 3522 | + | |
3522 | 3523 | | |
3523 | 3524 | | |
3524 | 3525 | | |
| |||
3536 | 3537 | | |
3537 | 3538 | | |
3538 | 3539 | | |
3539 | | - | |
| 3540 | + | |
3540 | 3541 | | |
3541 | 3542 | | |
3542 | 3543 | | |
| |||
3557 | 3558 | | |
3558 | 3559 | | |
3559 | 3560 | | |
3560 | | - | |
3561 | | - | |
| 3561 | + | |
3562 | 3562 | | |
3563 | 3563 | | |
3564 | 3564 | | |
| |||
0 commit comments