summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller2012-06-20 03:56:21 +0200
committerDavid S. Miller2012-06-20 03:56:21 +0200
commitf9242b6b28d61295f2bf7e8adfb1060b382e5381 (patch)
treeb395670bd6ae832e9f6f87f47a1840baf3a06d0d /net/core
parentnet: qmi_wwan: use module_usb_driver macro (diff)
downloadkernel-qcow2-linux-f9242b6b28d61295f2bf7e8adfb1060b382e5381.tar.gz
kernel-qcow2-linux-f9242b6b28d61295f2bf7e8adfb1060b382e5381.tar.xz
kernel-qcow2-linux-f9242b6b28d61295f2bf7e8adfb1060b382e5381.zip
inet: Sanitize inet{,6} protocol demux.
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions