net: Introduce ipv4_addr_hash and use it for tcp metrics
commit72afa352d6a3d4da7783b5ddee02b94be49e051a
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 27 Aug 2015 23:06:59 +0000 (27 16:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2015 20:32:35 +0000 (28 13:32 -0700)
tree6ed3a609f27a97668c757e36215e56fda458c9b7
parent8f58336d3f78aef61c8023c18546155f5fdf3224
net: Introduce ipv4_addr_hash and use it for tcp metrics

Refactors a common line into helper function.

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