diff options
| author | Guillaume Nault <[email protected]> | 2025-07-09 14:30:10 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-11 01:10:47 +0000 |
| commit | 4e914ef063de40397e25a025c70d9737a9e45a8c (patch) | |
| tree | fa2ce67e7123f8e928f3599db9c7da5ed5e37570 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Merge branch 'net-phy-microchip-lan88xx-reliability-fixes' (diff) | |
| download | kernel-4e914ef063de40397e25a025c70d9737a9e45a8c.tar.gz kernel-4e914ef063de40397e25a025c70d9737a9e45a8c.zip | |
gre: Fix IPv6 multicast route creation.
Use addrconf_add_dev() instead of ipv6_find_idev() in
addrconf_gre_config() so that we don't just get the inet6_dev, but also
install the default ff00::/8 multicast route.
Before commit 3e6a0243ff00 ("gre: Fix again IPv6 link-local address
generation."), the multicast route was created at the end of the
function by addrconf_add_mroute(). But this code path is now only taken
in one particular case (gre devices not bound to a local IP address and
in EUI64 mode). For all other cases, the function exits early and
addrconf_add_mroute() is not called anymore.
Using addrconf_add_dev() instead of ipv6_find_idev() in
addrconf_gre_config(), fixes the problem as it will create the default
multicast route for all gre devices. This also brings
addrconf_gre_config() a bit closer to the normal netdevice IPv6
configuration code (addrconf_dev_config()).
Cc: [email protected]
Fixes: 3e6a0243ff00 ("gre: Fix again IPv6 link-local address generation.")
Reported-by: Aiden Yang <[email protected]>
Closes: https://lore.kernel.org/netdev/CANR=AhRM7YHHXVxJ4DmrTNMeuEOY87K2mLmo9KMed1JMr20p6g@mail.gmail.com/
Reviewed-by: Gary Guo <[email protected]>
Tested-by: Gary Guo <[email protected]>
Signed-off-by: Guillaume Nault <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://patch.msgid.link/027a923dcb550ad115e6d93ee8bb7d310378bd01.1752070620.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
