net: Add helper function to compare inetpeer addresses
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 27 Aug 2015 23:07:01 +0000 (16:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2015 20:32:36 +0000 (13:32 -0700)
commitd39d14ffa24cca9f0e44aa4a63315f4c44c56a93
treed19cc95a22ad69e2164b9b46609ce67c577af77f
parent3abef286cf2f138de353fb0b54453621de961043
net: Add helper function to compare inetpeer addresses

tcp_metrics and inetpeer both have functions to compare inetpeer
addresses. Consolidate into 1 version.

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