summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2024-12-16 18:21:54 +0100
committerJakub Kicinski <kuba@kernel.org>2024-12-20 13:50:09 -0800
commitc63e9f3b89d3f96220a1c99466fed4563c14a259 (patch)
tree9c94088c9d3bd0730d850bc9a62a5c74b626c96a /tools/testing/selftests/net/lib/py/utils.py
parent148721f8e04a10a3b9c51f030c9be0d15b0a4d17 (diff)
downloadlinux-c63e9f3b89d3f96220a1c99466fed4563c14a259.tar.gz
linux-c63e9f3b89d3f96220a1c99466fed4563c14a259.tar.bz2
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/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions