diff options
| author | Guillaume Nault <[email protected]> | 2024-12-18 13:17:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-20 03:24:47 +0000 |
| commit | 29b540795b42a3e610c0d5e9d908a8d6c1333676 (patch) | |
| tree | 0e2199edcc62f7d0de30d6332c620794c433e5fb /tools/testing/selftests/net/lib/py/utils.py | |
| parent | af_unix: Add a prompt to CONFIG_AF_UNIX_OOB (diff) | |
| download | kernel-29b540795b42a3e610c0d5e9d908a8d6c1333676.tar.gz kernel-29b540795b42a3e610c0d5e9d908a8d6c1333676.zip | |
gre: Drop ip_route_output_gre().
We already have enough variants of ip_route_output*() functions. We
don't need a GRE specific one in the generic route.h header file.
Furthermore, ip_route_output_gre() is only used once, in ipgre_open(),
where it can be easily replaced by a simple call to
ip_route_output_key().
While there, and for clarity, explicitly set .flowi4_scope to
RT_SCOPE_UNIVERSE instead of relying on the implicit zero
initialisation.
Signed-off-by: Guillaume Nault <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Link: https://patch.msgid.link/ab7cba47b8558cd4bfe2dc843c38b622a95ee48e.1734527729.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
