Skip to content

ipv4: Consolidate route lookups from IPv4 sockets.

Guillaume Nault netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5ipv4: Define inet_sk_init_flowi4() and use it in inet_sk_rebuild_header().include/net/route.h net/ipv4/af_inet.c+30 -120 repliesApplied
2/5ipv4: Use inet_sk_init_flowi4() in ip4_datagram_release_cb().net/ipv4/datagram.c+2 -90 repliesApplied
3/5ipv4: Use inet_sk_init_flowi4() in inet_csk_rebuild_route().net/ipv4/inet_connection_sock.c+2 -90 repliesApplied
4/5ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit().net/ipv4/ip_output.c+4 -120 repliesApplied
5/5l2tp: Use inet_sk_init_flowi4() in l2tp_ip_sendmsg().net/l2tp/l2tp_ip.c+6 -131 replyApplied

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchJames Chapman
1/5
2/5
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/5] ipv4: Consolidate route lookups from IPv4 sockets.

Create inet_sk_init_flowi4() so that the different IPv4 code paths that need to do a route lookup based on an IPv4 socket don't need to reimplement that logic.

Guillaume Nault (5):
ipv4: Define inet_sk_init_flowi4() and use it in
inet_sk_rebuild_header().
ipv4: Use inet_sk_init_flowi4() in ip4_datagram_release_cb().
ipv4: Use inet_sk_init_flowi4() in inet_csk_rebuild_route().
ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit().
l2tp: Use inet_sk_init_flowi4() in l2tp_ip_sendmsg().

 include/net/route.h             | 28 ++++++++++++++++++++++++++++
 net/ipv4/af_inet.c              | 14 ++------------
 net/ipv4/datagram.c             | 11 ++---------
 net/ipv4/inet_connection_sock.c | 11 ++---------
 net/ipv4/ip_output.c            | 16 ++++------------
 net/l2tp/l2tp_ip.c              | 19 ++++++-------------
 6 files changed, 44 insertions(+), 55 deletions(-)
Signature · 1 line
2.39.2