diff options
| author | Guillaume Nault <[email protected]> | 2024-12-16 17:21:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-20 21:50:09 +0000 |
| commit | c63e9f3b89d3f96220a1c99466fed4563c14a259 (patch) | |
| tree | 9c94088c9d3bd0730d850bc9a62a5c74b626c96a /tools/testing/selftests/net/lib/py/utils.py | |
| parent | ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit(). (diff) | |
| download | kernel-c63e9f3b89d3f96220a1c99466fed4563c14a259.tar.gz kernel-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 <[email protected]>
Reviewed-by: James Chapman <[email protected]>
Link: https://patch.msgid.link/2ff22a3560c5050228928456662b80b9c84a8fe4.1734357769.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
