Skip to content

inetpeer for ipv6, take 2

David Miller netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8inetpeer: Abstract out the tree root accesses.net/ipv4/inetpeer.c+69 -500 replies
2/8inetpeer: Introduce inet_peer_address_t.include/net/inetpeer.h net/ipv4/inetpeer.c net/ipv4/tcp_ipv4.c+18 -100 replies
3/8inetpeer: Make inet_getpeer() take an inet_peer_adress_t pointer.include/net/inetpeer.h net/ipv4/inetpeer.c net/ipv4/ip_fragment.c +2 more+19 -100 replies
4/8inetpeer: Abstract address comparisons.net/ipv4/inetpeer.c+27 -80 replies
5/8inetpeer: Add v6 peers tree, abstract root properly.net/ipv4/inetpeer.c+18 -90 replies
6/8inetpeer: Add inet_getpeer_v6()include/net/inetpeer.h+10 -00 replies
7/8ipv6: Add infrastructure to bind inet_peer objects to routes.include/net/ip6_fib.h include/net/ip6_route.h net/ipv4/inetpeer.c +1 more+25 -00 replies
8/8inet: Turn ->remember_stamp into ->get_peer in connection AF ops.include/net/inet_connection_sock.h include/net/tcp.h net/ipv4/tcp_ipv4.c +2 more+44 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] inetpeer for ipv6, take 2

Ok, this time, thanks to feedback from Eric Dumazet and others, I've taken a more systematic approach to these changes.

Now there are two seperate AVL trees for ipv4 and ipv6.

Looking further, I've considered a dumping facility for these things as currently there is no real way to monitor these tables and we surely will want to if inetpeer takes on more responsibilities.