commit | 23a9072e3af0d9538e25837fb2b56bb94e4a8e67 | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Tue Mar 19 20:42:44 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 20 12:33:18 2013 -0400 |
tree | 225d85e6ad2d380ce077a470dbf5a0a93e62ea62 | |
parent | b44540ea024b9280c9be9d055f084e0956bcfa44 [diff] |
net: fix psock_fanout selftest hash collision Fix flaky results with PACKET_FANOUT_HASH depending on whether the two flows hash into the same packet socket or not. Also adds tests for PACKET_FANOUT_LB and PACKET_FANOUT_CPU and replaces the counting method with a packet ring. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>