Home
last modified time | relevance | path

Searched hist:"036 be6dbcfbe3da14be9b3463b94a5f79d8a2d71" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_multicast.cdiff 036be6dbcfbe3da14be9b3463b94a5f79d8a2d71 Tue Jul 10 17:29:19 CDT 2012 Thomas Graf <tgraf@suug.ch> bridge: Fix enforcement of multicast hash_max limit

The hash size is doubled when it needs to grow and compared against
hash_max. The >= comparison will limit the hash table size to half
of what is expected i.e. the default 512 hash_max will not allow
the hash table to grow larger than 256.

Also print the hash table limit instead of the desirable size when
the limit is reached.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>