git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677a3d6
)
inet: Sanitize inet{,6} protocol demux.
author
David S. Miller
<davem@davemloft.net>
Wed, 20 Jun 2012 01:56:21 +0000
(18:56 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 20 Jun 2012 01:56:21 +0000
(18:56 -0700)
Don't pretend that inet_protos[] and inet6_protos[] are hashes, thay
are just a straight arrays. Remove all unnecessary hash masking.
Document MAX_INET_PROTOS.
Use RAW_HTABLE_SIZE when appropriate.
Reported-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found