diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-08 05:17:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-08 23:53:04 -0500 |
commit | fdcc8aa953a1123a289791dd192090651036d593 (patch) | |
tree | b30e27d1ba4d3330e5eb9b7da43d4dfb3a4e42f8 /include/net/sock.h | |
parent | 415ce61aef5e9b2ed2516a13888c733bea15aedf (diff) |
udp: add a counter into udp_hslot
Adds a counter in udp_hslot to keep an accurate count
of sockets present in chain.
This will permit to upcoming UDP lookup algo to chose
the shortest chain when secondary hash is added.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions