net: Add set,get helpers for inetpeer addresses
commit3abef286cf2f138de353fb0b54453621de961043
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 27 Aug 2015 23:07:00 +0000 (27 16:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2015 20:32:36 +0000 (28 13:32 -0700)
treed5039d81fdd2138172026509bc501609020b090e
parent72afa352d6a3d4da7783b5ddee02b94be49e051a
net: Add set,get helpers for inetpeer addresses

Use inetpeer set,get helpers in tcp_metrics rather than peeking into
the inetpeer_addr struct.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inetpeer.h
net/ipv4/tcp_metrics.c