-
- Downloads
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>
Showing
- include/net/inet_hashtables.h 2 additions, 2 deletionsinclude/net/inet_hashtables.h
- net/dccp/proto.c 7 additions, 6 deletionsnet/dccp/proto.c
- net/ipv4/inet_diag.c 1 addition, 1 deletionnet/ipv4/inet_diag.c
- net/ipv4/inet_hashtables.c 1 addition, 1 deletionnet/ipv4/inet_hashtables.c
- net/ipv4/inet_timewait_sock.c 1 addition, 1 deletionnet/ipv4/inet_timewait_sock.c
- net/ipv4/tcp.c 5 additions, 6 deletionsnet/ipv4/tcp.c
- net/ipv4/tcp_ipv4.c 3 additions, 3 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv6/inet6_hashtables.c 1 addition, 1 deletionnet/ipv6/inet6_hashtables.c
Loading
Please register or sign in to comment