tcp: replace ehash_size by ehash_mask
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 9 Oct 2009 00:16:19 +0000 (00:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 10:44:02 +0000 (03:44 -0700)
commitf373b53b5fe67aa4a6f28f921a529cc90f88e79b
treeb2cae9152aed2e30b7a39c114678b9355ab5c14f
parentc3faca053d0a9c877597935b434150b422dbc6fb
tcp: replace ehash_size by ehash_mask

Storing the mask (size - 1) instead of the size allows fast path to be
a bit faster.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_hashtables.h
net/dccp/proto.c
net/ipv4/inet_diag.c
net/ipv4/inet_hashtables.c
net/ipv4/inet_timewait_sock.c
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c
net/ipv6/inet6_hashtables.c