| commit | bf0857ea32addb6bc8b46383604b218b8ec09f19 | [log] [tgz] |
|---|---|---|
| author | Patrick McHardy <kaber@trash.net> | Fri Jun 09 12:18:47 2006 -0700 |
| committer | David S. Miller <davem@sunset.davemloft.net> | Sat Jun 17 21:30:11 2006 -0700 |
| tree | 84b92a237f4f5e538f401dcbcc2725c75cc06955 | |
| parent | 2b2283d0302d520f08ded41c2ca17886dfbb865a [diff] |
[NETFILTER]: hashlimit match: fix random initialization
hashlimit does:
if (!ht->rnd)
get_random_bytes(&ht->rnd, 4);
ignoring that 0 is also a valid random number.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>