diff options
author | 2024-12-16 18:21:54 +0100 | |
---|---|---|
committer | 2024-12-20 13:50:09 -0800 | |
commit | c63e9f3b89d3f96220a1c99466fed4563c14a259 (patch) | |
tree | 9c94088c9d3bd0730d850bc9a62a5c74b626c96a /tools/perf/scripts/python/task-analyzer.py | |
parent | ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit(). (diff) | |
download | wireguard-linux-c63e9f3b89d3f96220a1c99466fed4563c14a259.tar.xz wireguard-linux-c63e9f3b89d3f96220a1c99466fed4563c14a259.zip |
l2tp: Use inet_sk_init_flowi4() in l2tp_ip_sendmsg().
Use inet_sk_init_flowi4() to automatically initialise the flowi4
structure in l2tp_ip_sendmsg() instead of passing parameters manually
to ip_route_output_ports().
Override ->daddr with the value passed in the msghdr structure if
provided.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: James Chapman <jchapman@katalix.com>
Link: https://patch.msgid.link/2ff22a3560c5050228928456662b80b9c84a8fe4.1734357769.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions