ipv4: Use inet_sk_init_flowi4() in ip4_datagram_release_cb().
authorGuillaume Nault <gnault@redhat.com>
Mon, 16 Dec 2024 17:21:46 +0000 (18:21 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Dec 2024 21:50:09 +0000 (13:50 -0800)
commit5be1323b5041d806716c80be4f8b11cfb64fa24c
tree3e0ab00a28ef773b971aab3535bb32a3b8c34638
parent1dbdce30f040a87f5aa6a9dbe43be398737f090f
ipv4: Use inet_sk_init_flowi4() in ip4_datagram_release_cb().

Use inet_sk_init_flowi4() to automatically initialise the flowi4
structure in ip4_datagram_release_cb() instead of passing parameters
manually to ip_route_output_ports().

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/9c326b8d9e919478f7952b21473d31da07eba2dd.1734357769.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/datagram.c