]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
inetpeer: Abstract address representation further.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 22:30:26 +0000 (14:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Feb 2011 21:22:28 +0000 (13:22 -0800)
commit7a71ed899e77cc822abb863e24a422dcf7e9fa33
tree2811b8ca75c7019522f73c7d972208ae3a3ea8f9
parentb6644cb706610874104dbf3359e3b67aa59cbc27
inetpeer: Abstract address representation further.

Future changes will add caching information, and some of
these new elements will be addresses.

Since the family is implicit via the ->daddr.family member,
replicating the family in ever address we store is entirely
redundant.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inetpeer.h
net/ipv4/inetpeer.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c